Hi,

I have a RTSP server running on a machine (Amazon EC2) that has a private IP 
address and an internet routable public IP address. 
When I try to play this stream using VLC  it says "live555 warning. no data 
received for 10s. Switching to TCP"

One issue i found is SDP was having private IP address. 
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. 

After this change clients like ffplay and gstreamer is able to play the stream 
over UDP but VLC is still not able to play. 

From debug prints I see that RTSP Server is sending UDP data till VLC sends a 
request after 10s to switch to TCP.  

Regards,
Sambhav

On Feb 11, 2012, at 12:36 PM, Ross Finlayson wrote:

>> When does RTSP server decide to switch streaming from RTP over UDP to TCP ?
> 
> 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).
> 
> 
> Ross Finlayson
> Live Networks, Inc.
> http://www.live555.com/
> 
> _______________________________________________
> live-devel mailing list
> live-devel@lists.live555.com
> http://lists.live555.com/mailman/listinfo/live-devel

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

Reply via email to