On Wed, Oct 31, 2012 at 09:07:25PM +0800, Soho Soho123 wrote: > Dear Jens, > > If just disable upnp service from rygel.conf, > when playbin is in PLAYBACK state, then will the sound be stopped?
Good question, no idea. Never tried. Probably. > 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. Do you want to continue playback at the same point? If you'd use pulseaudio, you could just mute the DLNA player. > It seems gstreamer takes a long time. > But I am not sure where will take a long time. Usually it's the registry update. You should make sure that it doesn't have to rebuild it all the time. > > Thanks! > Best Regards, > Soho > > 2012/10/29 Jens Georg <[email protected]>: > > 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. > > > _______________________________________________ rygel-list mailing list [email protected] https://mail.gnome.org/mailman/listinfo/rygel-list
