|
1 | 1 | // |
2 | | -// Copyright © 2025 Stream.io Inc. All rights reserved. |
| 2 | +// Copyright © 2026 Stream.io Inc. All rights reserved. |
3 | 3 | // |
4 | 4 |
|
5 | 5 | import AudioToolbox |
@@ -92,7 +92,7 @@ import WebRTC |
92 | 92 | return ".willReleaseAudioEngine(\(engine))" |
93 | 93 |
|
94 | 94 | case .configureInputFromSource(let engine, let source, let destination, let format): |
95 | | - return ".configureInputFromSource(\(engine), source:\(source?.description ?? "nil"), destination:\(destination), format:\(format))" |
| 95 | + return ".configureInputFromSource(\(engine), source:\(source), destination:\(destination), format:\(format))" |
96 | 96 |
|
97 | 97 | case .configureOutputFromSource(let engine, let source, let destination, let format): |
98 | 98 | return ".configureOutputFromSource(\(engine), source:\(source), destination:\(destination?.description ?? "nil"), format:\(format))" |
@@ -221,9 +221,6 @@ import WebRTC |
221 | 221 |
|
222 | 222 | audioLevelsAdapter.subject = audioLevelSubject |
223 | 223 | source.observer = self |
224 | | - |
225 | | - source.isVoiceProcessingBypassed = true |
226 | | - isVoiceProcessingBypassedSubject.send(true) |
227 | 224 | } |
228 | 225 |
|
229 | 226 | /// Objective-C compatible convenience initializer. |
@@ -255,6 +252,7 @@ import WebRTC |
255 | 252 | /// sendAudio capability. |
256 | 253 | _ = source.setRecordingAlwaysPreparedMode(false) |
257 | 254 | source.prefersStereoPlayout = isPreferred |
| 255 | + source.isVoiceProcessingBypassed = isPreferred |
258 | 256 | } |
259 | 257 |
|
260 | 258 | /// Starts or stops speaker playout on the ADM, retrying transient failures. |
|
0 commit comments