<div dir="ltr"><div>Hi Anton,</div><div>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).</div><div>Ssometimes I need to do a manual disconnect/reconnect, phonecall or even a reboot to get sound output back again.</div><div>Sorry I can't be of more assistance beyond confirming you are not "seeing things".<br></div><div>Regards,</div><div>Eli<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Op zo 8 dec. 2019 om 17:19 schreef Anton Thomasson <<a href="mailto:antonthomasson@gmail.com">antonthomasson@gmail.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><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>
_______________________________________________<br>
SailfishOS.org Devel mailing list<br>
To unsubscribe, please send a mail to <a href="mailto:devel-unsubscribe@lists.sailfishos.org" target="_blank">devel-unsubscribe@lists.sailfishos.org</a></blockquote></div>