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
93
100
106- (BOOL)resetAudioSession DEPRECATED_MSG_ATTRIBUTE("Use setSDKAudioSessionEnv instead");
107
114
120- (void)cleanAudioSession DEPRECATED_MSG_ATTRIBUTE("No longer maintain anymore!");
121
127
133- (BOOL)setAudioOutputRoute:(ZoomVideoSDKAudioDevice *_Nullable)device;
134
140
146- (BOOL)showAudioOutputDeviceAirPlayPicker:(UIView *_Nullable)parentView;
147
153
159
165- (BOOL)setAudioInputDevice:(ZoomVideoSDKAudioDevice *_Nullable)device;
166@end
167
ZoomVideoSDKError
Enumerates all 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()
Get the audio device name.
A class to operate the audio action.
NSArray< ZoomVideoSDKAudioDevice * > *_Nullable getAvailableAudioOutputRoute()
Gets the available audio output port description,AVAudioSessionPortDescription}..
ZoomVideoSDKError stopAudio()
Stop audio.
ZoomVideoSDKAudioDevice *_Nullable getCurrentAudioOutputRoute()
Get current audio output port description,AVAudioSessionPortDescription}.
BOOL setSDKAudioSessionEnv()
Set the AVAudio Session Environment for Zoom Video SDK Session.
ZoomVideoSDKError startAudio()
Start audio.
NSArray< ZoomVideoSDKAudioDevice * > *_Nullable getAvailableAudioInputsDevice()
Gets the list of available audio input devices. SeeAVAudioSessionPortDescription}.
ZoomVideoSDKError subscribe()
Call the function to subscribe audio rawdata.
ZoomVideoSDKError unSubscribe()
Call the function to unSubscribe audio rawdata.
void cleanAudioSession()
Clean Audio Session including Category and Mode.
ZoomVideoSDKError unmuteAllAudio()
Ask unmute all user's VOIP audio.
BOOL resetAudioSession()
Reset Audio Session including Category and Mode for ZoomVideoSDK Audio Session Environment When devel...
ZoomVideoSDKAudioDevice *_Nullable getCurrentAudioInputDevice()
Gets the current audio input device. SeeAVAudioSessionPortDescription}.
Zoom Video SDK user information.