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
By some reason, after upgraded to iOS 13 plugin version support, a switch audio output option stopped working in our app. Every time a user switches to speakerphone, it works ok, but only for some short period of time, then the audio output returns to earpiece.
After deep debugging, I noticed that every call to iosrtc.enumerateDevices() resets the audio session settings to default one.
Today I fought with a strange issue
By some reason, after upgraded to iOS 13 plugin version support, a switch audio output option stopped working in our app. Every time a user switches to speakerphone, it works ok, but only for some short period of time, then the audio output returns to earpiece.
After deep debugging, I noticed that every call to
iosrtc.enumerateDevices()
resets the audio session settings to default one.The chain is the following:
I think it should not be here and this one call in
pluginInitialize
to set default audio session settings should be enough https://github.com/cordova-rtc/cordova-plugin-iosrtc/blob/master/src/iosrtcPlugin.swift#L52Otherwise it can produce unexpected things in users' apps
Platform information
Cordova version:
8.1.2
Plugin version:
latest master
iOS version:
13.2
Xcode version:
11.2
The text was updated successfully, but these errors were encountered: