<div dir="ltr"><div>Dear list,<br></div><div><br></div><div>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.</div><div><br></div><div>This has been working great so far, as in like 95%+ success rate, but hardly ever succeeds when i'm using a Bluetooth headset. <br></div><div><br></div><div>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: </div><br><div><span style="font-family:monospace">Transport TryAcquire() failed for transport /org/bluez/hci0/dev_00_22_37_52_F0_01/fd0 (Operation Not Authorized)</span></div><div><span style="font-family:monospace"><br></span></div><div><span style="font-family:monospace"><font face="arial,sans-serif">It seems the M</font></span><span style="font-family:arial,sans-serif">ediaPlayer is definitely thinking that it is outputting to the Bluetooth headphones, because it stops when i disconnect them.<br></span></div><div><span style="font-family:arial,sans-serif"><br></span></div><div><span style="font-family:arial,sans-serif">Is there something wrong with my approach?<br></span></div><div><span style="font-family:arial,sans-serif">Can i improve, or is the underlying system borked?<br></span></div><div><span style="font-family:arial,sans-serif">Is this a known issue or otherwise reproducible?<br></span></div><div><span style="font-family:arial,sans-serif"><br></span></div><div><span style="font-family:arial,sans-serif">Br,</span></div><div><span style="font-family:arial,sans-serif">Anton</span><span style="font-family:monospace"><br></span></div></div>