TVINoiseCancellationProcessor Class Reference
+ + +Inherits from | +NSObject | +
---|---|
Conforms to | +TVIAudioDevice | +
Declared in | +TVINoiseCancellationProcessor.h | +
Overview
+TVINoiseCancellationProcessor
is an audio device that allows for background noise removal from the current audio source.
pauseProcessing
+
+
+ Pause noise cancellation audio processing.
+@property (nonatomic, assign) BOOL pauseProcessing
Discussion
+By default, the SDK initializes this property to NO. Setting it to YES disables the additional Twilio based underlying noise cancellation audio processing +while allowing audio to play from the current source including any audio processing the system may be providing, i.e. Voice Isolation mode in iOS 15. +Setting the property to NO enables the additional Twilio based noise cancellation audio processing on top of any system audio processing being used, i.e. Voice Isolation mode in iOS 15.
+Declared In
+TVINoiseCancellationProcessor.h
enabled
+
+
+ Enable audio device
+@property (nonatomic, assign, getter=isEnabled) BOOL enabled
Discussion
+By default, the SDK initializes this property to YES. Setting it to NO entirely disables the audio device. When the device is disabled, both audio capture and playback halt. This toggle should be used in CallKit delegate (CXProviderDelegate) methods (ex: didReset, didActivate, didDeactivate) to negotiate call holding and other events taking place from the iOS dialer
+Declared In
+TVINoiseCancellationProcessor.h