We are getting this error on iOS 16.1 beta 5 that we never saw before in any of the iOS versions.
[as_client] AVAudioSession_iOS.mm:2374 Failed to set category, error: 'what'
I wonder if there is any known workaround for the same. iOS 16 has been a nightmare and lot of AVFoundation code breaks or becomes unpredictable in behaviour. This is a new issue added in iOS 16.1.