|
Video SDK for MacOS API Reference
|
Interface for testing audio input and output devices. More...
#include <ZMVideoSDKAudioSettingHelper.h>
Inherits NSObject.
Instance Methods | |
| (ZMVideoSDKErrors) | - startMicTestRecording: |
| Starts the microphone test. This starts recording the input from the mic. Once the recording is complete, stopMicTestRecording must be called to finish the recording. | |
| (ZMVideoSDKErrors) | - stopMicTestRecording |
| Stops the microphone test. Before calling this, successfully start the microphone test by calling startMicTestRecording. Otherwise this returns an error. | |
| (ZMVideoSDKErrors) | - playMicTestRecording |
| Plays the microphone recorded sound. Complete a microphone test by successfully executing startMicTestRecording and stopMicTestRecording before calling this. Otherwise this returns an error. | |
| (ZMVideoSDKErrors) | - startSpeakerTest: |
| Starts the speaker test. | |
| (ZMVideoSDKErrors) | - stopSpeakerTest |
| Stops the speaker test. Before calling this, successfully start the speaker test by calling startSpeakerTest. Otherwise this returns an error. | |
| (ZMVideoSDKErrors) | - setTimerInterval: |
| Sets the time interval for the audio test. | |
Interface for testing audio input and output devices.
Definition at line 14 of file ZMVideoSDKAudioSettingHelper.h.
| - (ZMVideoSDKErrors) playMicTestRecording |
Plays the microphone recorded sound. Complete a microphone test by successfully executing startMicTestRecording and stopMicTestRecording before calling this. Otherwise this returns an error.
| - (ZMVideoSDKErrors) setTimerInterval: | (unsigned int) | timerInterval |
Sets the time interval for the audio test.
| timerInterval | Usually the SDK sends the mic and speaker volumes every 200 ms by default via onMicSpeakerVolumeChanged:(unsigned int)micVolume speakerVolume:. This function modifies the time interval instead of 200, default is 200 ms. Accepted values between 50 to 1000 milliseconds. |
ZMVideoSDKErrors_Success. Otherwise, this function returns an error. | - (ZMVideoSDKErrors) startMicTestRecording: | (NSString *) | deviceID |
Starts the microphone test. This starts recording the input from the mic. Once the recording is complete, stopMicTestRecording must be called to finish the recording.
| deviceID | Specify to test a microphone device. If the param is a wrong microphone ID, the SDK returns an error, otherwise the SDK tests the specified device and sets it as selected. |
ZMVideoSDKErrors_Success. Otherwise, this function returns an error. | - (ZMVideoSDKErrors) startSpeakerTest: | (nullable NSString *) | deviceID |
Starts the speaker test.
| deviceID | Specify to test a speaker device. If the param is a wrong speaker ID, the SDK returns an error, otherwise the SDK tests the specified device and sets it as selected. |
ZMVideoSDKErrors_Success. Otherwise, this function returns an error. | - (ZMVideoSDKErrors) stopMicTestRecording |
Stops the microphone test. Before calling this, successfully start the microphone test by calling startMicTestRecording. Otherwise this returns an error.
| - (ZMVideoSDKErrors) stopSpeakerTest |
Stops the speaker test. Before calling this, successfully start the speaker test by calling startSpeakerTest. Otherwise this returns an error.