Video SDK for iOS API Reference
Loading...
Searching...
No Matches
ZoomVideoSDKAudioHelper.h
Go to the documentation of this file.
1//
2// ZoomVideoSDKAudioHelper.h
3// ZoomVideoSDK
4//
5// Created by Zoom Video Communications on 2018/12/6.
6// Copyright © Zoom Video Communications, Inc. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10#import <ZoomVideoSDK/ZoomVideoSDK.h>
11
16@interface ZoomVideoSDKAudioDevice : NSObject
21- (AVAudioSessionPort _Nullable)getAudioSourceType;
22
27- (NSString *_Nullable)getAudioName;
28@end
29
30
35@interface ZoomVideoSDKAudioHelper : NSObject
36
42
48
55- (ZoomVideoSDKError)muteAudio:(ZoomVideoSDKUser * _Nullable)user;
56
64- (ZoomVideoSDKError)unmuteAudio:(ZoomVideoSDKUser * _Nullable)user;
65
72- (ZoomVideoSDKError)muteAllAudio:(BOOL)allowUnmute;
73
80- (ZoomVideoSDKError)allowAudioUnmutedBySelf:(BOOL)allowUnmute;
81
89
96
103
109- (BOOL)resetAudioSession DEPRECATED_MSG_ATTRIBUTE("Use setSDKAudioSessionEnv instead");
110
117
123- (void)cleanAudioSession DEPRECATED_MSG_ATTRIBUTE("No longer maintain anymore!");
124
130
136- (BOOL)setAudioOutputRoute:(ZoomVideoSDKAudioDevice *_Nullable)device;
137
143
149- (BOOL)showAudioOutputDeviceAirPlayPicker:(UIView *_Nullable)parentView;
150
156
162
168- (BOOL)setAudioInputDevice:(ZoomVideoSDKAudioDevice *_Nullable)device;
169@end
170
ZoomVideoSDKError
Enumerates all errors in the VideoSDK.
Zoom Video SDK Audio Device.
AVAudioSessionPort _Nullable getAudioSourceType()
Audio device type.
NSString *_Nullable getAudioName()
Audio device name.
A class to operate the audio action.
ZoomVideoSDKError stopAudio()
Stop audio.
ZoomVideoSDKAudioDevice *_Nullable getCurrentAudioOutputRoute()
Get currently 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()
Get the available audio input devices, please refer toAVAudioSessionPortDescription}...
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.
NSArray< ZoomVideoSDKAudioDevice * > *_Nullable getAvalibleAudioOutputRoute()
Get avalible audio output port description,AVAudioSessionPortDescription}..
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()
Get the current audio input device, please refer toAVAudioSessionPortDescription}.
Zoom Video SDK user information.