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

Protocol for receiving virtual audio speaker events. More...

#include <ZMVideoSDKAudioSendRawdata.h>

Inherits <NSObject>.

Instance Methods

(void) - onVirtualSpeakerMixedAudioReceived:
 Callback event for receiving the mixed audio raw data from the virtual speaker.
 
(void) - onVirtualSpeakerOneWayAudioReceived:user:
 Callback event for receiving the one way audio raw data of a selected user from the virtual speaker.
 
(void) - onVirtualSpeakerSharedAudioReceived:
 Callback event for receiving the share audio raw data such as buffer, sampleRate, etc.
 

Detailed Description

Protocol for receiving virtual audio speaker events.

Definition at line 65 of file ZMVideoSDKAudioSendRawdata.h.

Method Documentation

◆ onVirtualSpeakerMixedAudioReceived:

- (void) onVirtualSpeakerMixedAudioReceived: (ZMVideoSDKAudioRawData *) rawdata

Callback event for receiving the mixed audio raw data from the virtual speaker.

Parameters
rawdataIt is a pointer of audio raw data object.

◆ onVirtualSpeakerOneWayAudioReceived:user:

- (void) onVirtualSpeakerOneWayAudioReceived: (ZMVideoSDKAudioRawData *) rawdata
user: (ZMVideoSDKUser *) user 

Callback event for receiving the one way audio raw data of a selected user from the virtual speaker.

Parameters
rawdataThe one way audio raw data. A pointer of audio raw data object.
userThe related user of the audio raw data.

◆ onVirtualSpeakerSharedAudioReceived:

- (void) onVirtualSpeakerSharedAudioReceived: (ZMVideoSDKAudioRawData *) rawdata

Callback event for receiving the share audio raw data such as buffer, sampleRate, etc.

Parameters
rawdataThe one way audio raw data. A pointer of audio raw data object.