IVSMicrophone
Objective-C
@protocol IVSMicrophone <IVSAudioDevice, IVSMultiSourceDevice>
Swift
protocol IVSMicrophone : IVSAudioDevice, IVSMultiSourceDevice
An extension of IVSAudioDevice
that represents a physical microphone accessible by the host device.
-
Assign a delegate to receive updates about the attached microphone.
Declaration
Objective-C
@property (nonatomic, weak) id<IVSMicrophoneDelegate> _Nullable delegate;
Swift
weak var delegate: IVSMicrophoneDelegate? { get set }
-
Indicates whether echo cancellation is enabled on the microphone device. By default this is
NO
.Note
Changing this property while the microphone is in use may result in momentary audio loss. Setting this property to a value ofYES
may require microphone permissions.Declaration
Objective-C
@property (nonatomic, assign, unsafe_unretained, readwrite, getter=isEchoCancellationEnabled) BOOL echoCancellationEnabled;
Swift
var isEchoCancellationEnabled: Bool { get set }