[Live-devel] On Demand Session for MPEG1or2AudioRTPSink

Ross Finlayson finlayson at live555.com
Mon Jan 28 05:19:59 PST 2008


>Hi all,
>I stream a mp3 file using MP3FileSource and MPEG1or2AudioRTPSink? It works
>fine but is it correct?

Yes, that's correct.

>What type of session
>class should I use for an on demand service?


You use a "MP3AudioFileServerMediaSubsession".  This will end up 
creating these same two classes.

(See, for example, the code for "testOnDemandRTSPServer" and 
"live555MediaServer".)
-- 

Ross Finlayson
Live Networks, Inc.
http://www.live555.com/


More information about the live-devel mailing list