[Live-devel] On demand RTSP Unicast server question

Ross Finlayson finlayson at live.com
Sun Jul 11 22:34:57 PDT 2004


>I am wondering what is the difference between
>MPEG1or2DemuxedServerMediaSubsession and
>MPEG1or2VideoFileServerMediaSubsession/MP3AudioFileServerMediaSubsession?

The difference is that "MPEG1or2DemuxedServerMediaSubsession" creates its 
input source from a "MPEG1or2Demux" (which in turn reads from a MPEG 
Program Stream file), whereas the other two classes that you mentioned read 
directly from MPEG Elementary Stream files.

>So I cannot really
>use MPEG1or2DemuxedServerMediaSubsession to unicast video stream (input)
>through RTSP on demand.

That's correct.  To stream a MPEG video stream, use a 
"MPEG1or2VideoFileServerMediaSubsession".  Note the code for the 
"testOnDemandRTSPServer" test program - in particular, the code for 
streaming from a MPEG Elementary Stream video file called 
"testv.mpg".  That shows you how to do this.


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



More information about the live-devel mailing list