Ticket #675 (new defect)

Opened 2 years ago

Last modified 2 years ago

Ending a VoIP call causes music to start (unpause) unexpectedly

Reported by: xclaesse Owned by: lennart
Milestone: Component: daemon
Keywords: Cc: hadess, robin.stocker@…

Description

rhythmbox running but not playing any music (paused, essentially)

steps to reproduce: - make a jabber audio call with Empathy - hang up jabber audio call

expected outcome: - call ends, nothing else

Actual outcome: - call ends, music starts playing

This is reproducable with Totem too.

The only thing Empathy does is g_setenv ("PULSE_PROP_media.role", "phone", TRUE);

Change History

Changed 2 years ago by hadess

  • cc hadess added

Changed 2 years ago by hadess

This is caused by PulseAudio using the gnome-settings-daemon's media player keys APIs. We're missing API to allow PulseAudio to know whether or not we were playing.

Changed 2 years ago by xclaesse

Do you have already open a bug against gnope-settings-daemon to get that API? If not I'll do :)

Changed 2 years ago by coling

Are you sure that pulse uses gnome-settings-daemon's media player keys API? It was my understanding that pulse just sends a PA_STREAM_EVENT_REQUEST_CORK or _UNCORK request. AFAIK, gstreamer listens for this event and then handles the informing of the application accordingly. The latest gstreamer release (.25) had some fixes relating to corking, but I've not checked closely if they resolve this issue.

Changed 2 years ago by robinst

  • cc robin.stocker@… added

Changed 2 years ago by lennart

So Gst now forwards those downstream pause/resume requests to the apps. However, to my knowledge no app handles this yet.

We probably should stop loading module-x11-cork-request by default as soon as Rb and Banshee learned handling those downstream requests properly. Maybe someone should open bugs against both of those apps, so that we can keep track of this.

Note: See TracTickets for help on using tickets.