[SailfishDevel] Cannot resume playback with Bluetooth headphones
E.S. Rosenberg
es.rosenberg+sailfishos.org at gmail.com
Sun Dec 8 23:33:26 UTC 2019
Hi Anton,
As of late I have also noticed this but haven't had the time to dive into
it (also kind of blamed the headset with which I'm less then happy).
Ssometimes I need to do a manual disconnect/reconnect, phonecall or even a
reboot to get sound output back again.
Sorry I can't be of more assistance beyond confirming you are not "seeing
things".
Regards,
Eli
Op zo 8 dec. 2019 om 17:19 schreef Anton Thomasson <antonthomasson at gmail.com
>:
> Dear list,
>
> I have an app where in order to keep streaming audio playing (when i
> switch between WiFi and celluar) i have hooked up onError of the QML
> MediaPlayer to a timer which tries to start playing again.
>
> This has been working great so far, as in like 95%+ success rate, but
> hardly ever succeeds when i'm using a Bluetooth headset.
>
> Upon further debugging, i found that the MediaPlayer component did indeed
> report that it started playing, despite failing to output any sound due to
> (i guess) the following error:
>
> Transport TryAcquire() failed for transport
> /org/bluez/hci0/dev_00_22_37_52_F0_01/fd0 (Operation Not Authorized)
>
> It seems the MediaPlayer is definitely thinking that it is outputting to
> the Bluetooth headphones, because it stops when i disconnect them.
>
> Is there something wrong with my approach?
> Can i improve, or is the underlying system borked?
> Is this a known issue or otherwise reproducible?
>
> Br,
> Anton
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscribe at lists.sailfishos.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20191209/f1fbfa54/attachment.html>
More information about the Devel
mailing list