From 82400c67342001f6afbdf0a32e8b01f1c1aa37cb Mon Sep 17 00:00:00 2001 From: Ryan Zhao Date: Mon, 29 Nov 2021 16:45:40 +1100 Subject: [PATCH] clean --- Session/Calls/Call Management/SessionCall.swift | 10 ---------- 1 file changed, 10 deletions(-) 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 }