![]() ![]() Whats changed?Īlso airplay shows wrong port as selected.ĪirPlay seems to have been wiped out on my MacBook Pro since the move to Big Sur.The icon was no longer saved in the toolbar, so I went to the widgets to find it. It seems iOS15 doesn't create audio routing errors even if session had failed to change its category. Why simple straightforward demo application can set category from background without any failure? Why does it not fail while in foreground? MCXLogVerbose(" AVAudioSession activation to playback FAILED") MCXLogVerbose(" AVAudioSession activation to playback SUCCESSFUL") Try AVAudioSession.sharedInstance().setCategory(.playback, mode. ![]() We are trying to switch category between playAndrecord and playback. But i could not find any.Īs a result, incoming audio sometimes plays at receiver or speaker or airpod randomly, after a single failure. ERROR: "", meaning another session is active(i guess). Apart from the application side, we also need to change category according to necessities.Įverything works fine while application is in foreground. We also have a framework which handles everything regarding networking, audio capturing, transmission etc. MCXLogVerbose(" AVAudioSession activation to playAndRecord FAILED") MCXLogVerbose(" AVAudioSession activation to playAndRecord SUCCESSFUL") Try AVAudioSession.sharedInstance().setActive(true) Try AVAudioSession.sharedInstance().setCategory(.playAndRecord, mode. We are setting AudioSession category on appLaunch. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |