diff --git a/Session/Calls/Call Management/SessionCall.swift b/Session/Calls/Call Management/SessionCall.swift index 15bc4b4c9..0172aa778 100644 --- a/Session/Calls/Call Management/SessionCall.swift +++ b/Session/Calls/Call Management/SessionCall.swift @@ -259,16 +259,6 @@ public final class SessionCall: NSObject, WebRTCSessionDelegate { webRTCSession.attachLocalRenderer(renderer) } - // MARK: Audio I/O swithcing - func switchAudioMode(mode: AudioMode) { - audioMode = mode - if mode == .speaker { - webRTCSession.configureAudioSession(outputAudioPort: .speaker) - } else { - webRTCSession.configureAudioSession() - } - } - // MARK: Delegate public func webRTCIsConnected() { guard !self.hasConnected else { return }