[Live-devel] h264 live video multicast streaming

piaoyang5097 at sjtu.edu.cn piaoyang5097 at sjtu.edu.cn
Sat Aug 29 18:22:06 PDT 2015


Hi Ross,
   
   Thanks for your reply. I don't have a NAT between my server and client, and if I am going to set up IP multicast routing between my server and client networks, what device will I need ? Or what technology do I need to take?

Best Regards!
Shihao Zhang


----- 原始邮件 -----
发件人: "Ross Finlayson" <finlayson at live555.com>
收件人: "LIVE555 Streaming Media - development & use" <live-devel at ns.live555.com>
发送时间: 星期日, 2015年 8 月 30日 上午 12:43:05
主题: Re: [Live-devel] h264 live video multicast streaming




I used testH264VideoStreamer.cpp as a model to stream h264 live video in the multicast way. In the local area network, I worked fine.But In the public network, the client couldn't receive the video data. Then I asked somebody and was told that the multicast data can't be transmitted through NAT. So, is there a way that can make the multicast data spread over the public network using live555 ? 

No, you cannot stream via multicast beyond a single LAN, unless IP multicast routing has been set up between your server and client network(s) - which is rarely the case. 

Instead, you should stream via unicast, using the “testOnDemandRTSPServer” demo application as a model; see 
http://live555.com/liveMedia/faq.html#liveInput-unicast 

However, if you have a NAT (rather than just a router) between your server and client, then it’s unlikely that you will be able to use RTSP/RTP streaming between them, especially if your server is not on the public Internet. (Probably your only hope - in this case - would be to use a “LIVE555 Proxy Server” outside your NAT.) 


Ross Finlayson 
Live Networks, Inc. 
http://www.live555.com/ 


_______________________________________________
live-devel mailing list
live-devel at lists.live555.com
http://lists.live555.com/mailman/listinfo/live-devel



More information about the live-devel mailing list