Video SDK for iOS API Reference
Loading...
Searching...
No Matches
ZoomVideoSDKAudioHelper.h
Go to the documentation of this file.
6#import <Foundation/Foundation.h>
7#import <ZoomVideoSDK/ZoomVideoSDK.h>
8
13@interface ZoomVideoSDKAudioDevice : NSObject
18- (AVAudioSessionPort _Nullable)getAudioSourceType;
19
24- (NSString *_Nullable)getAudioName;
25@end
26
27
32@interface ZoomVideoSDKAudioHelper : NSObject
33
39
45
52- (ZoomVideoSDKError)muteAudio:(ZoomVideoSDKUser * _Nullable)user;
53
61- (ZoomVideoSDKError)unmuteAudio:(ZoomVideoSDKUser * _Nullable)user;
62
69- (ZoomVideoSDKError)muteAllAudio:(BOOL)allowUnmute;
70
77- (ZoomVideoSDKError)allowAudioUnmutedBySelf:(BOOL)allowUnmute;
78
86
94
102
108- (BOOL)resetAudioSession DEPRECATED_MSG_ATTRIBUTE("Use setSDKAudioSessionEnv instead");
109
116
122- (void)cleanAudioSession DEPRECATED_MSG_ATTRIBUTE("No longer maintain anymore!");
123
129
135- (BOOL)setAudioOutputRoute:(ZoomVideoSDKAudioDevice *_Nullable)device;
136
142
148- (BOOL)showAudioOutputDeviceAirPlayPicker:(UIView *_Nullable)parentView;
149
155
161
167- (BOOL)setAudioInputDevice:(ZoomVideoSDKAudioDevice *_Nullable)device;
168@end
169
ZoomVideoSDKError
Enumeration of all the errors in the VideoSDK.
Represents an audio device used in the Zoom Video SDK.
AVAudioSessionPort _Nullable getAudioSourceType()
Gets the audio device type.
NSString *_Nullable getAudioName()
Gets the audio device name.
A class to operate audio actions.
NSArray< ZoomVideoSDKAudioDevice * > *_Nullable getAvailableAudioOutputRoute()
Gets the available audio output port descriptions.
ZoomVideoSDKError stopAudio()
Stops audio.
ZoomVideoSDKAudioDevice *_Nullable getCurrentAudioOutputRoute()
Gets the current audio output port description.
BOOL setSDKAudioSessionEnv()
Sets the AVAudioSession environment for Zoom Video SDK session.
ZoomVideoSDKError startAudio()
Starts audio.
NSArray< ZoomVideoSDKAudioDevice * > *_Nullable getAvailableAudioInputsDevice()
Gets the list of available audio input devices.
ZoomVideoSDKError subscribe()
Subscribes to audio raw data.
ZoomVideoSDKError unSubscribe()
Unsubscribes from audio raw data.
void cleanAudioSession()
Cleans the audio session including category and mode.
ZoomVideoSDKError unmuteAllAudio()
Asks to unmute all users' VOIP audio.
BOOL resetAudioSession()
Resets the audio session including category and mode for ZoomVideoSDK audio session environment when ...
ZoomVideoSDKAudioDevice *_Nullable getCurrentAudioInputDevice()
Gets the current audio input device.
Zoom Video SDK user information.