| Streamaxia Open SDK 3.2

AXRecorder+RecorderSettings.h
1 //
2 // AXRecorder+RecorderSettings.h
3 // StreamaxiaSDK
4 //
5 // Created by Mihaita Babici on 9/17/16.
6 // Copyright © 2016 Agilio. All rights reserved.
7 //
8
9 @import Foundation;
10
11 #import "AXRecorder.h"
12 #import "AXRecorderDefines.h"
13
14 @class AXError;
15
16 @interface AXRecorder (RecorderSettings)
17
21
29 - (void)changeRecorderSettings:(AXRecorderSettings *)settings withCompletion:(void (^)(BOOL success, AXError *error))completionBlock;
30
34
44 - (BOOL)isRecordingModeSupported:(AXRecordingMode)recordingMode;
45
55 - (void)changeRecordingMode:(AXRecordingMode)recordingMode withCompletion:(void (^)(BOOL success, AXError *error))completionBlock;
56
60
68 - (BOOL)isCameraPresent:(AXCamera)camera;
69
82 - (void)switchToCamera:(AXCamera)camera withCompletion:(void (^)(BOOL success, AXError *error))completionBlock;
83
87
95 - (BOOL)isTorchModeSupported:(AXTorchMode)torchMode;
96
102 - (void)changeTorchMode:(AXTorchMode)torchMode withCompletion:(void (^)(BOOL success, AXError *error))completionBlock;
103
114 - (void)changeTorchLevel:(float)torchLevel withCompletion:(void (^)(BOOL success, AXError *error))completionBlock;
115
119
127 - (BOOL)isFrameSizeSupported:(AXVideoFrameResolution)frameSize;
128
136 - (BOOL)isResolutionSupported:(AXVideoFrameResolution)resolution;
137
157 - (void)changeVideoResolution:(AXVideoFrameResolution)resolution withCompletion:(void (^)(BOOL success, AXError *error))completionBlock;
158
164 - (void)changeResolutionInversion:(BOOL)inverted withError:(AXError **)error;
165
169
177 - (BOOL)isFrameRateSupported:(NSInteger)frameRate;
178
189 - (void)changeFrameRate:(NSInteger)frameRate withCompletion:(void (^)(NSInteger validFrameRate))completionBlock;
190
194
201 - (void)changeKeyFrameInterval:(NSInteger)keyFrameInterval withCompletion:(void (^)(BOOL success, AXError *error))completionBlock;
202
206
213 - (void)changeVideoBitrate:(NSInteger)videoBitRate withCompletion:(void (^)(BOOL success, AXError *error))completionBlock;
214
218
225 - (void)changeAudioSampleRate:(NSInteger)audioSampleRate withCompletion:(void (^)(BOOL success, AXError *error))completionBlock;
226
230
234
240 - (void)changeVideoOrientation:(AXVideoOrientation)videoOrientation;
241
242 @end
AXRecorder(RecorderSettings)
Definition: AXRecorder+RecorderSettings.h:16
AXRecorderSettings
Definition: AXRecorderSettings.h:14
AXError
Definition: AXError.h:16