> I’m wondering if anybody has a simple socket reading version of the 
> testOnDemandRTSPServer program.

What you really mean to ask for is "a subclass of the 
'OnDemandServerMediaSubsession' class that reads from a socket".  There is such 
a class that you can use as a model: "MPEG2TransportUDPServerMediaSubsession".  
Note also how this is used in "testOnDemandRTSPServer".

If, however, you are asking about reading from a *stream* (i.e., TCP) socket, 
rather than from a datagram socket, then you should be able to convert the 
socket into a "FILE*" (assuming that you're not using Windoze), and instead use 
"WAVAudioFileServerMediaSubsession" as a model for your new 
"OnDemandServerMediaSubsession" subclass.

(Either way, you will need to write your own "OnDemandServerMediaSubsession" 
subclass.)


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

Reply via email to