[Live-devel] Closing injector question

jers at inwind.it jers at inwind.it
Mon Sep 19 17:22:26 PDT 2005


Hi Ross,

thanks for your reply. 
I'm afraid that doing as in your suggestion, the TCP connection will stay on, while I need to have different connections for any injection. Given that the connection is opened by the injector, I suppose I should close the injector in order to release the connection.

Thanks again.
Jers





> >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/>
> 
> _______________________________________________
> live-devel mailing list
> live-devel at lists.live.com
> http://lists.live.com/mailman/listinfo/live-devel
> 




More information about the live-devel mailing list