Post ATW5ZYHTIWhE2KJEQK by joeri@social.vlekken.net
 (DIR) More posts by joeri@social.vlekken.net
 (DIR) Post #ATW3Yis2EwyGgLt8pk by podverse@podcastindex.social
       2023-03-11T19:44:15Z
       
       0 likes, 0 repeats
       
       #Android developer question:We have a very strange bug where playing audio in Podverse does not pause audio/video from external apps like YouTube.What is super weird though is our #fdroid build pauses YT correctly.There shouldn't be a meaningful difference between our player in Google Play vs FDroid...Has anyone run into something like this before? Is there possibly a Google Play specific setting we need to set?
       
 (DIR) Post #ATW4zIv6vmgJyHZ96m by joeri@social.vlekken.net
       2023-03-11T20:00:14Z
       
       0 likes, 0 repeats
       
       @podverse do both versions run the same API? (eg. is the FDroid version sandboxed)
       
 (DIR) Post #ATW5Hz40yrrptEdbl2 by podverse@podcastindex.social
       2023-03-11T20:03:39Z
       
       0 likes, 0 repeats
       
       @joeri the only differences I’m aware of is we remove any libraries that aren’t 100% FOSS for F-Droid. This is mostly App Center and Google payment processing…Aside from a different app ID (com.podverse vs com.podverse.fdroid) I don’t think there should be a difference to the player.iOS has category settings that can affect whether audio gets mixed together or pauses other audio. I haven’t found settings like that for Android though…
       
 (DIR) Post #ATW5ZYHTIWhE2KJEQK by joeri@social.vlekken.net
       2023-03-11T20:06:49Z
       
       0 likes, 0 repeats
       
       @podverse hmm, could it be a permission based difference?
       
 (DIR) Post #ATWFhwpEvN3e1DkK3s by podverse@podcastindex.social
       2023-03-11T22:00:23Z
       
       0 likes, 0 repeats
       
       @joeri it seems plausible...Someone linked me to this documentation and it sounds more directly related. We're using an audio library so I don't actually know how it is handling audio focus. There are quite a few differences between how it is handled across Android versions too. Hopefully this points us in the right direction. Thanks for your help!https://developer.android.com/guide/topics/media-apps/audio-focus
       
 (DIR) Post #ATWHv9Hi71wqKiUAMq by podverse@podcastindex.social
       2023-03-11T22:25:10Z
       
       0 likes, 0 repeats
       
       @joeri hmm I don't know for sure but this seems like a promising explanation: https://github.com/doublesymmetry/KotlinAudio/issues/65
       
 (DIR) Post #ATWwdYFsd8lmgaMCSu by brianoflondon@podcastindex.social
       2023-03-12T06:01:25Z
       
       0 likes, 0 repeats
       
       @podverse is it possible I've seen this on iOS perhaps when playing a video in Podverse and it doesn't give me controls or react properly to pause signals from my airpods. I probably need to figure out how to recreate and explain better.
       
 (DIR) Post #ATXuJSOyg3wnzSrYW0 by podverse@podcastindex.social
       2023-03-12T17:10:07Z
       
       0 likes, 0 repeats
       
       @brianoflondon I think that sounds like a different known issue, which is the video library we are using doesn’t support Bluetooth controls yet.