Audio control interface SeeZMVideoSDK#GetAudioHelper()
.
More...
Audio control interface SeeZMVideoSDK#GetAudioHelper()
.
Definition at line 8 of file ZMVideoSDKAudioHelper.cs.
◆ GetMicList()
Get mic device list.
- Returns
- If the function succeeds, the return value is ZMVideoSDKMicDevice mic device list, Otherwise NULL.
Definition at line 96 of file ZMVideoSDKAudioHelper.cs.
97 {
98 return _videoSDKAudioHelper.GetMicList();
99 }
◆ GetSpeakerList()
Get speaker device list.
- Returns
- If the function succeeds, the return value is ZMVideoSDKSpeakerDevice speaker device list, Otherwise NULL.
Definition at line 86 of file ZMVideoSDKAudioHelper.cs.
87 {
88 return _videoSDKAudioHelper.GetSpeakerList();
89 }
◆ MuteAudio()
Mute user's voip audio. 0 means current user (myself).
- Parameters
-
user | The user which you want to mute. |
- Returns
- If the function succeeds, the return value is ZoomVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZMVideoSDKErrors enum.
Definition at line 76 of file ZMVideoSDKAudioHelper.cs.
77 {
78 _videoSDKAudioHelper.MuteAudio(user, callback);
79 }
◆ SelectMic()
ZMVideoSDKErrors ZMVideoSDKAudioHelper.SelectMic |
( |
string |
deviceID, |
|
|
string |
deviceName |
|
) |
| |
|
inline |
Select a microphone device as default device.
- Parameters
-
deviceID | Device id. |
deviceName | Device name. |
- Returns
- If the function succeeds, the return value is ZMVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZMVideoSDKErrors enum.
Definition at line 120 of file ZMVideoSDKAudioHelper.cs.
121 {
122 return _videoSDKAudioHelper.SelectMic(deviceID, deviceName);
123 }
◆ SelectSpeaker()
ZMVideoSDKErrors ZMVideoSDKAudioHelper.SelectSpeaker |
( |
string |
deviceID, |
|
|
string |
deviceName |
|
) |
| |
|
inline |
Select a speaker device as default device.
- Parameters
-
deviceID | Device id. |
deviceName | Device name. |
- Returns
- If the function succeeds, the return value is ZMVideoSDKErrors_Success. Otherwise failed. To get extended error information, see ZMVideoSDKErrors enum.
Definition at line 108 of file ZMVideoSDKAudioHelper.cs.
109 {
110 return _videoSDKAudioHelper.SelectSpeaker(deviceID, deviceName);
111 }
◆ StartAudio()
Start audio with voip.
- Parameters
-
[out] | callback | a callback function to return the ZMVideoSDKErrors status code of this method. |
Definition at line 46 of file ZMVideoSDKAudioHelper.cs.
47 {
48 _videoSDKAudioHelper.StartAudio(callback);
49 }
◆ StopAudio()
Stop voip.
- Parameters
-
[out] | callback | a callback function to return the ZMVideoSDKErrors status code of this method. |
Definition at line 55 of file ZMVideoSDKAudioHelper.cs.
56 {
57 _videoSDKAudioHelper.StopAudio(callback);
58 }
◆ Subscribe()
Subscribe audio raw data.
- Parameters
-
[out] | callback | a callback function to return the ZMVideoSDKErrors status code of this method. |
Definition at line 129 of file ZMVideoSDKAudioHelper.cs.
130 {
131 _videoSDKAudioHelper.Subscribe(callback);
132 }
◆ UnMuteAudio()
Unmute user's voip audio.
- Parameters
-
| user | The user which you want to unMute. |
[out] | callback | a callback function to return the ZMVideoSDKErrors status code of this method. |
Definition at line 65 of file ZMVideoSDKAudioHelper.cs.
66 {
67 _videoSDKAudioHelper.UnMuteAudio(user, callback);
68 }
◆ UnSubscribe()
UnSubscribe audio raw data.
- Parameters
-
[out] | callback | a callback function to return the ZMVideoSDKErrors status code of this method. |
Definition at line 138 of file ZMVideoSDKAudioHelper.cs.
139 {
140 _videoSDKAudioHelper.UnSubscribe(callback);
141 }