[Live-devel] FramedSource::getNextFrame()

Ross Finlayson finlayson at live555.com
Thu Jun 1 12:25:26 PDT 2006


At 06:13 AM 6/1/2006, you wrote:
>Ok ,
>but can i do a sequential 'pause and play' with more than one source
>with getNextFrame() ?

I don't really understand your question.  "getNextFrame()" can be 
called on many different objects concurrently.  (However, once you've 
called "getNextFrame()" on an object, you can't call it again on the 
*same* object until the first call completes (with delivery to the 
downstream client).)

If you want to 'pause' media flow, then call 
"MediaSink::stopPlaying()" on your 'sink' object.  Then, to restart 
it, call "MediaSink::startPlaying()" on your 'sink' object once again.


	Ross Finlayson
	Live Networks, Inc. (LIVE555.COM)
	<http://www.live555.com/>



More information about the live-devel mailing list