[vlc] Re: Timeout in live.com

Ross Finlayson finlayson at live.com
Wed Jun 29 03:45:09 CEST 2005


>>2: RTP over TCP
>>The connection is opened immediately. Failure can quickly be detected. 
>>However atm liveMedia doesn't have a clean method for exporting this 
>>failure to VLC. We therefore use a timeout again. again 10secs is 
>>required because of MPEG4 streams.
>
>Ross, got an opinion here ?

I've already mentioned to DJ a hack (a global RTP-over-TCP 'status' 
variable) that he can use to check whether or not the TCP connection has 
failed.  I suggest that he just use this variable (which exists in previous 
LIVE.COM library versions also, so there's no backwards compatibility 
issue) for now, until something cleaner comes available.

As an aside, RTP-over-TCP can also be implemented over HTTP, as described 
in 
<http://developer.apple.com/documentation/QuickTime/QTSS/Concepts/chapter_2_section_14.html>. 
The idea here is that a HTTP connection (e.g., over port 80) is reused for 
RTSP, which in turn is reused for RTP-over-TCP.  This is useful for 
streaming over firewalls that allow only port 80 TCP, provided, of course, 
that the server also supports this (as Apple's Darwin/QuickTime Streaming 
Server does).  The LIVE.COM RTSP client implementation supports this as an 
option (see "liveMedia/include/RTSPClient.hh"), and so VLC could use this 
if it wanted to.


	Ross Finlayson
	LIVE.COM
	<http://www.live.com/>

-- 
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html



More information about the vlc mailing list