Re: how to disable ---> enable-->disable upnp service of Rygel without re-start
- From: Soho Soho123 <soho123 2012 gmail com>
- To: Jens Georg <mail jensge org>
- Cc: rygel-list gnome org
- Subject: Re: how to disable ---> enable-->disable upnp service of Rygel without re-start
- Date: Wed, 31 Oct 2012 21:07:25 +0800
Dear Jens,
If just disable upnp service from rygel.conf,
when playbin is in PLAYBACK state, then will the sound be stopped?
I would like to get the result :
stop dlna service completely (include playback) and release alsa
audio sound card
and
start dlna service completely for a short time.
It seems gstreamer takes a long time.
But I am not sure where will take a long time.
Thanks!
Best Regards,
Soho
2012/10/29 Jens Georg <mail jensge org>:
> 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]