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-unsubscr...@lists.sailfishos.org

Reply via email to