Provides methods for managing audio in Zoom Video SDK sessions.
More...
#include <ZMVideoSDKAudioHelper.h>
Inherits NSObject.
Provides methods for managing audio in Zoom Video SDK sessions.
Definition at line 112 of file ZMVideoSDKAudioHelper.h.
◆ allowAudioUnmutedBySelf:
Allows the others to unmute themselves or not. For host or manager.
- Parameters
-
| allowUnmute | Yes means allow the user to unmute themself, NO otherwise. |
- Returns
- If the function succeeds, it returns ZMVideoSDKErrors_Success. Otherwise, this function returns an error.
◆ getMicList
Gets mic device list.
- Returns
- If the function succeeds, it returns mic device list. Otherwise, this function fails and returns nil.
◆ getSpeakerList
Gets speaker device list.
- Returns
- If the function succeeds, it returns speaker device list. Otherwise, this function fails and returns nil.
◆ muteAllAudio:
Mutes all user's VIOP audio except my self.
- Parameters
-
| allowUnmute | Yes means means allow the user to unmute themself, NO otherwise. |
- Returns
- If the function succeeds, it returns ZMVideoSDKErrors_Success. Otherwise, this function returns an error.
◆ muteAudio:
Mutes user's voip audio. 0 means current user (myself).
- Parameters
-
| user | The pointer of user object. |
- Returns
- If the function succeeds, it returns ZMVideoSDKErrors_Success. Otherwise, this function returns an error.
◆ selectMic:deviceName:
| - (ZMVideoSDKErrors) selectMic: |
|
(NSString *) | deviceId |
| deviceName: |
|
(NSString *) | name |
Select one mic device as default device.
- Parameters
-
| deviceId | Device ID. |
| name | Device name. |
- Returns
- If the function succeeds, it returns ZMVideoSDKErrors_Success. Otherwise, this function returns an error.
◆ selectSpeaker:deviceName:
| - (ZMVideoSDKErrors) selectSpeaker: |
|
(NSString *) | deviceId |
| deviceName: |
|
(NSString *) | name |
Select one speaker device as default device.
- Parameters
-
| deviceId | Device ID. |
| name | Device name. |
- Returns
- If the function succeeds, it returns ZMVideoSDKErrors_Success. Otherwise, this function returns an error.
◆ startAudio
Starts audio with voip.
- Returns
- If the function succeeds, it returns ZMVideoSDKErrors_Success. Otherwise, this function returns an error.
◆ stopAudio
Stops audio.
- Returns
- If the function succeeds, it returns ZMVideoSDKErrors_Success. Otherwise, this function returns an error.
◆ subscribe
Subscribes audio raw data.
- Returns
- If the function succeeds, it returns ZMVideoSDKErrors_Success. Otherwise, this function returns an error.
◆ unmuteAllAudio
Ask to unmute all user's VOIP audio.
- Returns
- If the function succeeds, it returns ZMVideoSDKErrors_Success. Otherwise, this function returns an error.
◆ unMuteAudio:
UnMute user's voip audio.
- Parameters
-
| user | The pointer of user object. |
- Returns
- If the function succeeds, it returns ZMVideoSDKErrors_Success. Otherwise, this function returns an error.
◆ unSubscribe
UnSubscribe audio raw data.
- Returns
- If the function succeeds, it returns ZMVideoSDKErrors_Success. Otherwise, this function returns an error.