|
Video SDK for iOS API Reference
|
A class to operate audio actions. More...
#include <ZoomVideoSDKAudioHelper.h>
Inherits NSObject.
Instance Methods | |
| (ZoomVideoSDKError) | - startAudio |
| Starts audio. | |
| (ZoomVideoSDKError) | - stopAudio |
| Stops audio. | |
| (ZoomVideoSDKError) | - muteAudio: |
| Mutes the user's audio. | |
| (ZoomVideoSDKError) | - unmuteAudio: |
| Asks to unmute the user's audio. | |
| (ZoomVideoSDKError) | - muteAllAudio: |
| Mutes all users' VOIP audio except self. | |
| (ZoomVideoSDKError) | - allowAudioUnmutedBySelf: |
| Allows others to unmute themselves or not. | |
| (ZoomVideoSDKError) | - unmuteAllAudio |
| Asks to unmute all users' VOIP audio. | |
| (ZoomVideoSDKError) | - subscribe |
| Subscribes to audio raw data. | |
| (ZoomVideoSDKError) | - unSubscribe |
| Unsubscribes from audio raw data. | |
| (BOOL) | - resetAudioSession |
| Resets the audio session including category and mode for ZoomVideoSDK audio session environment when developer changes audio session in session. | |
| (BOOL) | - setSDKAudioSessionEnv |
| Sets the AVAudioSession environment for Zoom Video SDK session. | |
| (void) | - cleanAudioSession |
| Cleans the audio session including category and mode. | |
| (ZoomVideoSDKAudioDevice *_Nullable) | - getCurrentAudioOutputRoute |
| Gets the current audio output port description. | |
| (BOOL) | - setAudioOutputRoute: |
| Sets the audio output device. | |
| (NSArray< ZoomVideoSDKAudioDevice * > *_Nullable) | - getAvailableAudioOutputRoute |
| Gets the available audio output port descriptions. | |
| (BOOL) | - showAudioOutputDeviceAirPlayPicker: |
| Displays the system AirPlay picker. | |
| (ZoomVideoSDKAudioDevice *_Nullable) | - getCurrentAudioInputDevice |
| Gets the current audio input device. | |
| (NSArray< ZoomVideoSDKAudioDevice * > *_Nullable) | - getAvailableAudioInputsDevice |
| Gets the list of available audio input devices. | |
| (BOOL) | - setAudioInputDevice: |
| Sets the audio input device. | |
A class to operate audio actions.
Definition at line 32 of file ZoomVideoSDKAudioHelper.h.
| - (ZoomVideoSDKError) allowAudioUnmutedBySelf: | (BOOL) | allowUnmute |
Allows others to unmute themselves or not.
| allowUnmute | YES to allow users to unmute themselves, NO otherwise. |
| - (void) cleanAudioSession |
Cleans the audio session including category and mode.
References cleanAudioSession.
Referenced by cleanAudioSession.
| - (NSArray< ZoomVideoSDKAudioDevice * > *_Nullable) getAvailableAudioInputsDevice |
Gets the list of available audio input devices.
References getAvailableAudioInputsDevice.
Referenced by getAvailableAudioInputsDevice.
| - (NSArray< ZoomVideoSDKAudioDevice * > *_Nullable) getAvailableAudioOutputRoute |
Gets the available audio output port descriptions.
References getAvailableAudioOutputRoute.
Referenced by getAvailableAudioOutputRoute.
| - (ZoomVideoSDKAudioDevice *_Nullable) getCurrentAudioInputDevice |
Gets the current audio input device.
References getCurrentAudioInputDevice.
Referenced by getCurrentAudioInputDevice.
| - (ZoomVideoSDKAudioDevice *_Nullable) getCurrentAudioOutputRoute |
Gets the current audio output port description.
References getCurrentAudioOutputRoute.
Referenced by getCurrentAudioOutputRoute.
| - (ZoomVideoSDKError) muteAllAudio: | (BOOL) | allowUnmute |
Mutes all users' VOIP audio except self.
| allowUnmute | YES to allow users to unmute themselves, NO otherwise. |
| - (ZoomVideoSDKError) muteAudio: | (ZoomVideoSDKUser *_Nullable) | user |
Mutes the user's audio.
| user | The user whose audio will be muted. Use nil to mute self. |
| - (BOOL) resetAudioSession |
Resets the audio session including category and mode for ZoomVideoSDK audio session environment when developer changes audio session in session.
References resetAudioSession, and setSDKAudioSessionEnv.
Referenced by resetAudioSession.
| - (BOOL) setAudioInputDevice: | (ZoomVideoSDKAudioDevice *_Nullable) | device |
Sets the audio input device.
| device | The device to set as the audio input. |
| - (BOOL) setAudioOutputRoute: | (ZoomVideoSDKAudioDevice *_Nullable) | device |
Sets the audio output device.
| device | The device to set as the audio output. |
| - (BOOL) setSDKAudioSessionEnv |
Sets the AVAudioSession environment for Zoom Video SDK session.
References setSDKAudioSessionEnv.
Referenced by resetAudioSession, and setSDKAudioSessionEnv.
| - (BOOL) showAudioOutputDeviceAirPlayPicker: | (UIView *_Nullable) | parentView |
Displays the system AirPlay picker.
| parentView | The parent view where the AirPlay picker will be shown. |
| - (ZoomVideoSDKError) startAudio |
Starts audio.
References startAudio.
Referenced by startAudio.
| - (ZoomVideoSDKError) stopAudio |
| - (ZoomVideoSDKError) subscribe |
Subscribes to audio raw data.
Errors_Success. Otherwise, this function returns an error. References subscribe.
Referenced by subscribe.
| - (ZoomVideoSDKError) unmuteAllAudio |
Asks to unmute all users' VOIP audio.
References unmuteAllAudio.
Referenced by unmuteAllAudio.
| - (ZoomVideoSDKError) unmuteAudio: | (ZoomVideoSDKUser *_Nullable) | user |
Asks to unmute the user's audio.
| user | The user whose audio will be unmuted. Use nil to unmute self. |
| - (ZoomVideoSDKError) unSubscribe |
Unsubscribes from audio raw data.
References unSubscribe.
Referenced by unSubscribe.