[Live-devel] How can I use the testOnDemandRTSPServer test
program to read a file repeatedly!
Ross Finlayson
finlayson at live.com
Thu May 5 00:05:18 PDT 2005
>How can I use the testOnDemandRTSPServer test program to read a file
>repeatedly?
You would need to modify the function "afterPlayingStreamState()" (in
"OnDemandServerMediaSubsession.cpp"). (This function is called when the
input source ends.)
You will need to close the existing source, create a new one (using
"createNewStreamSource()"), and then call "startPlaying()" on the RTPSink
object once again.
(To get this to work, you'll probably also need to modify "StreamState".)
Ross Finlayson
LIVE.COM
<http://www.live.com/>
More information about the live-devel
mailing list