Re: how to disable ---> enable-->disable upnp service of Rygel without re-start



On Mo, 2012-10-29 at 10:10 +0800, Soho Soho123 wrote:
> Dear Jens,
> 
> Do you have idea :
> how to disable --> enable --> disable Rygel upnp service in runtime
> without re-start rygel?

With 0.15: Edit rygel.conf, set upnp-enabled to false/true and kill -HUP
$(pidof rygel)

There's a slightly easier way (meaning: automatic reload) to be
implemented on master soon.

> since it will take about 10 seconds for starting rygel.
> Or is there any other approach to reduce the starting time duration for rygel?

Maybe you should try to find out why it is slow in starting? Does it
e.g. have to re-build the GStreamer registry everytime when starting?
IIRC you're running the renderer only?

> Is it possible to enable or disable upnp service for rygel in runtime
> by modify the code in gssdp, or gupnp, or rygel ?

Yes, in Rygel. Change all plugins to inactive (plugin.active = false) or
active.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]