[Live-devel] Closing injector question

Ross Finlayson finlayson at live.com
Mon Sep 19 07:41:58 PDT 2005


>I'm a new user of Live library and I'd like to create an injector 
>"on demand". I mean I'd like to start and stop injecting (and 
>therefore stop playing the device source) and, then, restart it 
>after some time! I don't know what is the safer way to do it.

I would do this by stopping and starting the RTP streams that feed 
into the DarwinInjector, rather than doing anything with the 
DarwinInjector object itself.

I.e., just call
         videoSink->stopPlaying();
to stop streaming, and
         videoSink->startPlaying( ... )'
to start streaming again.


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



More information about the live-devel mailing list