You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In iOS12 the playback stops when the user opens the camera app.
This happens due to AudioSession receiving a notification thatrouteAudioChanged acts on, the reason being .unknown which will change the state of the player to paused.
This is unintended behaviour. An interruption should only happen if the camera goes to video mode. We have tested this a fair bit and the issue is not present in iOS13. We have run tests with leaving out the check for .unknown, in line 205 of PlayingState.swift. Everything still works fine without that check, as InterruptionAudioService will act as intended with proper handling of going to the video mode.
I hope that you will have time soon to attend this minor correction. If wanted I could prepare a pull-request with this change :-)
The text was updated successfully, but these errors were encountered:
In iOS12 the playback stops when the user opens the camera app.
This happens due to AudioSession receiving a notification that
routeAudioChanged
acts on, the reason being.unknown
which will change the state of the player to paused.This is unintended behaviour. An interruption should only happen if the camera goes to video mode. We have tested this a fair bit and the issue is not present in iOS13. We have run tests with leaving out the check for
.unknown
, in line 205 of PlayingState.swift. Everything still works fine without that check, as InterruptionAudioService will act as intended with proper handling of going to the video mode.I hope that you will have time soon to attend this minor correction. If wanted I could prepare a pull-request with this change :-)
The text was updated successfully, but these errors were encountered: