<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div><blockquote type="cite" class=""><div class="">  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 ?<br class=""></div></blockquote><div><br class=""></div></div>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.<div class=""><br class=""></div><div class="">Instead, you should stream via unicast, using the “testOnDemandRTSPServer” demo application as a model; see</div><div class=""><span class="Apple-tab-span" style="white-space:pre">     </span><a href="http://live555.com/liveMedia/faq.html#liveInput-unicast" class="">http://live555.com/liveMedia/faq.html#liveInput-unicast</a></div><div class=""><br class=""></div><div class="">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.)</div><br class=""><br class=""><div apple-content-edited="true" class="">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px;  ">Ross Finlayson<br class="">Live Networks, Inc.<br class=""><a href="http://www.live555.com/" class="">http://www.live555.com/</a></span></span>
</div>
<br class=""></body></html>