I use http://www.wowza.com/ for live video streaming solution. I preffer to use windows azure as cloud hosting.
For video streaming I need to open some udp ports.
I have created endpoint for udp port 10000, map private and public ports to 10000 following instructions from http://www.windowsazure.com/en-us/manage/windows/how-to-guides/setup-endpoints/
I repeat this for http/80 port and it works fine.
Then I tried to send video stream by ffmpeg with next command:
ffmpeg -re -i "%WMSAPP_HOME%/content/sample.mp4" -vcodec libx264 -vb 150000 -g 60 -vprofile baseline -level 2.1 -acodec aac -ab 64000 -ar 48000 -ac 2 -vbsf h264_mp4toannexb -strict experimental -f mpegts udp://%SERVER_IP%:10000?pkt_size=1316
where %SERVER_IP% is public IP address of my virtual machine.
When I test locally, with 127.0.0.1 as server url, streaming works without problems.
But now I can not see that video stream is coming to server.
So I need help with this. How can I send data to udp port in azure virtual machine?
Also, I've tried to ping %SERVER_IP%:%PORT% by telnet and nmap but no success.
If I describe something not clear on not correct - please comment and I will try to explain more detail.
For video streaming I need to open some udp ports.
I have created endpoint for udp port 10000, map private and public ports to 10000 following instructions from http://www.windowsazure.com/en-us/manage/windows/how-to-guides/setup-endpoints/
I repeat this for http/80 port and it works fine.
Then I tried to send video stream by ffmpeg with next command:
ffmpeg -re -i "%WMSAPP_HOME%/content/sample.mp4" -vcodec libx264 -vb 150000 -g 60 -vprofile baseline -level 2.1 -acodec aac -ab 64000 -ar 48000 -ac 2 -vbsf h264_mp4toannexb -strict experimental -f mpegts udp://%SERVER_IP%:10000?pkt_size=1316
where %SERVER_IP% is public IP address of my virtual machine.
When I test locally, with 127.0.0.1 as server url, streaming works without problems.
But now I can not see that video stream is coming to server.
So I need help with this. How can I send data to udp port in azure virtual machine?
Also, I've tried to ping %SERVER_IP%:%PORT% by telnet and nmap but no success.
If I describe something not clear on not correct - please comment and I will try to explain more detail.