Ticket #642 (closed defect: lackofresponse)

Opened 2 years ago

Last modified 2 years ago

A2DP bluetooth makes pulse stuck

Reported by: algspd Owned by: lennart
Milestone: Component: core
Keywords: a2dp bluetooth paired Cc:

Description

I discovered that when i go away from my computer with my a2dp headphones, the sound starts failing and after a while, it stops. Then the music player gets stuck. Would it be possible to make pulseaudio check, not only if headphones are paired (they doesn't become unpaired) but if the link quality between headphones and computer is good enough? If the link cuality becomes bad, Would it be possible to redirect sound to speakers until bluetooth device becomes ready again? I've realised that is what happens when a2dp device becomes unpaired, but when link quality is poor it doesn't become unpaired.

Change History

Changed 2 years ago by lennart

Unfortunately BT does not offer the necessary functionality to implement this.

Changed 2 years ago by algspd

Ok, so I wonder if could it be possible to make pulse switch to another output device when bluetooth fails.

Changed 2 years ago by lennart

We already implement that. If a sink goes away and another sink exists and "module-rescue-stream" is loaded we will move all playing streams from the dying sink to the surviving sink.

m-r-s is loaded by default. So unless you have modified your configuration manually this is exactly the behaviour should get.

Changed 2 years ago by algspd

The problem is that if I turn off the a2dp receiver manually, by pushing the button, all streams on a2dp move to speakers, BUT if I go away with the a2dp receiver (if it's too far or signal is bad because of anything), the a2dp receiver is still linked and pavucontrol shows it as an output device, but after a few seconds pulse crashes.

Changed 2 years ago by lennart

Ah, PA crashes? So this bug is about PA crashing? Crashes should be fixed. Please provide a backtrace of the crash, as described here:

http://pulseaudio.org/wiki/Community#BugsPatchesTranslations

Changed 2 years ago by lennart

  • status changed from new to closed
  • resolution set to lackofresponse

Closing due to lack of response.

Note: See TracTickets for help on using tickets.