Skip to content

Commit f8929b5

Browse files
committed
chore: code cleanup
1 parent 7e4c015 commit f8929b5

2 files changed

Lines changed: 0 additions & 12 deletions

File tree

ios/RCTWebRTC/Utils/AudioDeviceModule/AudioDeviceModule.swift

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -272,15 +272,6 @@ import WebRTC
272272
source.isVoiceProcessingBypassed = isPreferred
273273
}
274274

275-
/// Sets voice processing bypass on the underlying audio device module.
276-
/// When bypassed, echo cancellation / AGC / noise suppression are disabled,
277-
/// which prevents the system from treating screen share audio as echo.
278-
/// - Parameter isBypassed: `true` to bypass voice processing, `false` to restore.
279-
@objc public func setVoiceProcessingBypassed(_ isBypassed: Bool) {
280-
source.isVoiceProcessingBypassed = isBypassed
281-
isVoiceProcessingBypassedSubject.send(isBypassed)
282-
}
283-
284275
/// Starts or stops speaker playout on the ADM, retrying transient failures.
285276
/// - Parameter isActive: `true` to start playout, `false` to stop.
286277
/// - Throws: `AudioDeviceError` when WebRTC returns a non-zero status.
@@ -541,8 +532,6 @@ import WebRTC
541532
format: format
542533
)
543534
)
544-
545-
// Notify the audio graph delegate synchronously — this must happen
546535
audioLevelsAdapter.installInputTap(
547536
on: destination,
548537
format: format,

ios/RCTWebRTC/Utils/AudioDeviceModule/ScreenShare/ScreenShareAudioMixer.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,6 @@ import WebRTC
3434
/// Processing format from `audioProcessingInitialize`.
3535
private var processingSampleRate: Double = 0
3636
private var processingChannels: Int = 0
37-
/// Target format for conversion, built from processing parameters.
3837
private var targetFormat: AVAudioFormat?
3938

4039
/// Scale factor: RTCAudioBuffer uses FloatS16 format (Float32 values in the

0 commit comments

Comments
 (0)