Github user katzlbt commented on the issue:
https://github.com/apache/cordova-plugin-media/pull/100
Sending setActiveNo: to an audio session will always stop recording and
playback. This is how the system handles incoming phonecalls etc.
> Most apps never need to deactivate their audio session explicitly.
Important exceptions include VoIP (Voice over Internet Protocol) apps,
turn-by-turn navigation apps, and, in some cases, recording apps.
(https://developer.apple.com/library/content/documentation/Audio/Conceptual/AudioSessionProgrammingGuide/ConfiguringanAudioSession/ConfiguringanAudioSession.html)
Probably you are out of luck for waiting it out, unless you have a year or
so. This PR and another that fixes that Audio is disabled after every memory
warning are open for ages
(https://github.com/apache/cordova-plugin-media/pull/120). I apply the patches
manually like this:
`
wget
https://github.com/apache/cordova-plugin-media/pull/120.patch
patch -p1 <120.patch
wget
https://github.com/apache/cordova-plugin-media/pull/116.patch
patch -p1 <116.patch
wget
https://github.com/apache/cordova-plugin-media/pull/100.patch
patch -p1 <100.patch
`
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]