IVSMicrophoneDelegate
Objective-C
@protocol IVSMicrophoneDelegateSwift
protocol IVSMicrophoneDelegateA delegate that provides updates about the attached microphone.
- 
                  
                  Invoked when the underlying input source providing audio samples to the microphone changes. This could be the result of a bluetooth headset being connected or disconnected, a wired headset being plugged in or unplugged, or any other audio device hardware change that might trigger a system route change. Always invoked on the main queue. DeclarationObjective-C - (void)underlyingInputSourceChangedForMicrophone: (nonnull id<IVSMicrophone>)microphone toInputSource: (nullable IVSDeviceDescriptor *) inputSource;Swift func underlyingInputSourceChanged(for microphone: IVSMicrophone, toInputSource inputSource: IVSDeviceDescriptor?)ParametersmicrophoneThe microphone that had it’s underlying input source changed inputSourceThe new input source. If this is nilit means there is no available input source to record from. This might happen if the AVAudioSession gets deactivated. When this happens the SDK will wait for another input source to become available and switch to it when it can.
