<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi,</div><div><br></div><div>I have a RTSP server running on a machine (Amazon EC2) that has a private IP address and an internet routable public IP address. </div><div>When I try to play this stream using VLC it says <b>"live555 warning. no data received for 10s. Switching to TCP"</b></div><div><br></div><div>One issue i found is SDP was having private IP address. </div><div>During SDP creation the getsockname is called to get the ip address which was returning private IP address. I modified this to put public IP address. </div><div><br></div><div>After this change clients like ffplay and gstreamer is able to play the stream over UDP but VLC is still not able to play. </div><div><br></div><div>From debug prints I see that RTSP Server is sending UDP data till VLC sends a request after 10s to switch to TCP. </div><div><br></div><div>Regards,</div><div>Sambhav</div><div><div><br></div><div><div><div>On Feb 11, 2012, at 12:36 PM, Ross Finlayson wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><blockquote type="cite"><div>When does RTSP server decide to switch streaming from RTP over UDP to TCP ?<br></div></blockquote><div><br></div>It doesn't. It's the client, not the server, that chooses what form of streaming to use (because it's part of the RTSP "SETUP" command that gets sent by the client).</div><br><br><div apple-content-edited="true">
Ross Finlayson<br>Live Networks, Inc.<br><a href="http://www.live555.com/">http://www.live555.com/</a>
</div>
<br></div>_______________________________________________<br>live-devel mailing list<br><a href="mailto:live-devel@lists.live555.com">live-devel@lists.live555.com</a><br>http://lists.live555.com/mailman/listinfo/live-devel<br></blockquote></div><br></div></div></body></html>