diff --git a/Sources/LiveKit/Track/Local/LocalAudioTrack.swift b/Sources/LiveKit/Track/Local/LocalAudioTrack.swift index 6e2db3cbb..2255a4501 100644 --- a/Sources/LiveKit/Track/Local/LocalAudioTrack.swift +++ b/Sources/LiveKit/Track/Local/LocalAudioTrack.swift @@ -55,8 +55,6 @@ public class LocalAudioTrack: Track, LocalTrack, AudioTrack { "googNoiseSuppression": options.noiseSuppression.toString(), "googTypingNoiseDetection": options.typingNoiseDetection.toString(), "googHighpassFilter": options.highpassFilter.toString(), - "googNoiseSuppression2": options.experimentalNoiseSuppression.toString(), - "googAutoGainControl2": options.experimentalAutoGainControl.toString(), ] let audioConstraints = DispatchQueue.liveKitWebRTC.sync { LKRTCMediaConstraints(mandatoryConstraints: nil, diff --git a/Sources/LiveKit/Types/Options/AudioCaptureOptions.swift b/Sources/LiveKit/Types/Options/AudioCaptureOptions.swift index b4e7e65d3..e9705688f 100644 --- a/Sources/LiveKit/Types/Options/AudioCaptureOptions.swift +++ b/Sources/LiveKit/Types/Options/AudioCaptureOptions.swift @@ -39,12 +39,6 @@ public class AudioCaptureOptions: NSObject, CaptureOptions { @objc public let highpassFilter: Bool - @objc - public let experimentalNoiseSuppression: Bool = false - - @objc - public let experimentalAutoGainControl: Bool = false - public init(echoCancellation: Bool = true, noiseSuppression: Bool = true, autoGainControl: Bool = true, @@ -66,9 +60,7 @@ public class AudioCaptureOptions: NSObject, CaptureOptions { noiseSuppression == other.noiseSuppression && autoGainControl == other.autoGainControl && typingNoiseDetection == other.typingNoiseDetection && - highpassFilter == other.highpassFilter && - experimentalNoiseSuppression == other.experimentalNoiseSuppression && - experimentalAutoGainControl == other.experimentalAutoGainControl + highpassFilter == other.highpassFilter } override public var hash: Int { @@ -78,8 +70,6 @@ public class AudioCaptureOptions: NSObject, CaptureOptions { hasher.combine(autoGainControl) hasher.combine(typingNoiseDetection) hasher.combine(highpassFilter) - hasher.combine(experimentalNoiseSuppression) - hasher.combine(experimentalAutoGainControl) return hasher.finalize() } }