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
Hello, I have everything set up and running as I'd like it to other than the audio output. With video chat, it seems it would be better to have the audio default to speaker output doesn't it? Currently mine defaults to the earpiece.
Any insight would be appreciated. I've seen some references to the following
AVAudioSessionPortOverride.Speaker
The text was updated successfully, but these errors were encountered:
Video SDK sets AVAudioSessionModeVideoChat as the default audio session mode. By default, for AVAudioSessionModeVideoChat, iOS routes audio to speaker if an earpiece is not attached, otherwise the audio gets routed to the earpiece. However, you can override this behavior and route audio to speaker using Video SDK APIs in following way -
let localMedia = TVILocalMedia()
let audioController = localMedia.audioController
audioController.audioOutput = .videoChatSpeaker
Hello, I have everything set up and running as I'd like it to other than the audio output. With video chat, it seems it would be better to have the audio default to speaker output doesn't it? Currently mine defaults to the earpiece.
Any insight would be appreciated. I've seen some references to the following
AVAudioSessionPortOverride.Speaker
The text was updated successfully, but these errors were encountered: