[vlc] Re: VLC MPEG2 streaming reception

Ross Finlayson finlayson at live.com
Wed Feb 16 16:50:16 CET 2005


>1. VLC seems to interpret an SDP file containing a unicast destination
>incorrectly

VLC can use a SDP file to play a multicast stream, but not a unicast 
stream.  The reason for this is that - for a unicast stream - a single SDP 
description does not contain enough information to completely describe the 
stream.  In particular, for a unicast stream, you need to know the 
addresses and port numbers for both the transmitter (in order to receive 
RTCP packets from the receiver) and the receiver (in order to receive RTP 
packets from the transmitter).  A single SDP description does not give you 
enough information for this.

Instead, unicast RTP streams are usually played using RTSP - i.e., using a 
"rtsp://" URL that points to a RTSP server (that usually runs on the 
transmitter's computer).  The RTSP protocol uses the "DESCRIBE" command to 
retrieve a SDP description from the server, but also uses "SETUP" and 
"PLAY" commands to establish the correct address and port information for 
each end of the stream.

So, your transmitter should be using a RTSP server.  Instead of using VLC 
for this, I suggest using the "LIVE.COM Streaming Media" code 
<http://www.live.com/liveMedia/>.  One of the 'test programs' there (e.g., 
"testOnDemandRTSPServer") can probably do what you want.


	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