<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=""><div dir="ltr" class=""><div class="">I have developed a RTSP server that serves unicast clients with a stream from a live source.</div><div class=""><br class=""></div><div class="">I have based my development on the testOnDemandRTSPServer implementation.</div><div class=""><br class=""></div><div class="">Over LAN everything works as expected. The problem I am having is that over the Internet I cannot use UDP as a transport for RTP, it just does not work.</div></div></div></blockquote><div><br class=""></div>OK - so you appear to have a firewall that is blocking UDP packets.</div><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class=""><div dir="ltr" class=""><div class=""><br class=""></div><div class="">I have opened and forwarded the following ports to the server:</div><div class="">UDP 6970 - 6971 (I have seen these ports being used over LAN)</div></div></div></blockquote><div><br class=""></div><div>These ports are sufficient if you have only one client. If you have (or anticipate) up to N concurrent clients, then you will need to open ports 6970 through 6970+(2*N-1). Note that the base port number - 6970 - is the default value of the “initialPortNum” parameter to the “OnDemandServerMediaSubsession” constructor. You can change this if you wish.</div><div><br class=""></div><div>Note, however, that this will work only if you have just a firewall. If you also have NAT (Network Address Translation) on your server’s network, then you *won’t* be able to run your server there. In other words, you cannot run a server on a network with private IP addresses, and expect clients on the public Internet to be able to contact it. (Instead, you’ll need to run your server on the public Internet (or perhaps run a proxy server there).)</div></div><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>