> 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
<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
[email protected]
http://lists.live555.com/mailman/listinfo/live-devel