Problem: Bluetooth Audio output (Transmitter)
|
20th Jun, 2021, 03:55 AM
Post: #72
|
|||
|
|||
RE: Bluetooth Audio output (Transmitter)
(8th Jun, 2021 01:03 AM)ppianigiani Wrote: First of all, is it expected that the USERRUN script is firstly run as "xbmc stop" and then as "xbmc start"? I didn't expect "stop" first, if not at all... I had checked this immediately with me, there does not occur, but does what it should Quote:Then, it seems that pulseaudio is not running yet when the script is executed: I've also try to wait inside the script for pulseaudio to start, but it seems it's always started AT THE END of the script, no matter how long it takes: is this expected too? That is correct. pulseaudio is only started when an application (Kodi) wants to access it. Quote:So, in the end, this seems to be the real issue cause: pulseaudio not running yet when trying to connect the BT device. Actually I don't understand why it doesn't work for you. pulseaudio doesn't care which audio sinks are already present at startup. It always takes the default sink first, which can also be a dummy sink. And if another sink with a higher priority is added later (in your case a bt headset) it will use it. At least this is how it works with my installations Of course you should use the pulseaudio default device in Kodi and not explicitly your headset. I just checked this again: - System started - In Kodi Audio set to Pulseaudio (default) -> sound is routed to the TV - BT speakers turned on (were miraculously connected automatically) -> sound now arrives on the BT speakers As it should be |
|||
« Next Oldest | Next Newest »
|