Video SDK for MacOS API Reference
Loading...
Searching...
No Matches
<ZMVideoSDKVirtualAudioMic> Protocol Reference

Protocol for handling virtual audio microphone events. More...

#include <ZMVideoSDKAudioSendRawdata.h>

Inherits <NSObjectNSObject>.

Instance Methods

(void) - onMicInitialize:
 Callback for virtual audio microphone initialization.
 
(void) - onMicStartSend
 Callback for microphone to start sending raw data. For example, this could be sent if the user unmuted audio.
 
(void) - onMicStopSend
 Callback for microphone to stop sending raw data. For example, this could be sent if the user muted audio.
 
(void) - onMicUninitialized
 Callback sent when the microphone is uninitialized. For example, if the user left the session.
 

Detailed Description

Protocol for handling virtual audio microphone events.

Definition at line 36 of file ZMVideoSDKAudioSendRawdata.h.

Method Documentation

◆ onMicInitialize:

- (void) onMicInitialize: (ZMVideoSDKAudioSender *) rawdataSender

Callback for virtual audio microphone initialization.

Parameters
rawdataSenderIt is a pointer of audio sender object.

◆ onMicStartSend

- (void) onMicStartSend

Callback for microphone to start sending raw data. For example, this could be sent if the user unmuted audio.

◆ onMicStopSend

- (void) onMicStopSend

Callback for microphone to stop sending raw data. For example, this could be sent if the user muted audio.

◆ onMicUninitialized

- (void) onMicUninitialized

Callback sent when the microphone is uninitialized. For example, if the user left the session.