Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]

Video Stopping External Audio
Started by isaiahkronstad83 Apr 25 2019 12:02 AM

1 reply to this topic
external audio
[TOPIC: post.html]


[GLOBAL: userInfoPane.html]
  • Observer

  • 5 posts
  • Corona SDK

After adding the below code to stop my app from pausing external audio, the Android version is still pausing external audio when a video plays.  Is there a fix for this?  (BTW, this isn't an issue with iOS).


audio.setSessionProperty(audio.MixMode, audio.AmbientMixMode)





[TOPIC: post.html]

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,196 posts
  • Enterprise

Unfortunately, the audio.setSessionProperty() is part of an undocumented and unsupported feature that an engineer with audio experience put in a long time ago. We have been quite clear that we don't support this and future OS updates might break it. 


Sadly there isn't a fix for this. Now that Corona is open source, you're welcome to go look at the code and see if you can address the issue and submit a pull request.