| Streamaxia Open SDK 3.2

AXRecorderSettings.h
1 //
2 // AXRecorderSettings.h
3 // StreamaxiaSDK
4 //
5 // Created by Mihaita Babici on 7/15/16.
6 // Copyright © 2016 Agilio. All rights reserved.
7 //
8
9 @import Foundation;
10 @import UIKit;
11
12 #import "AXRecorderDefines.h"
13
14 @interface AXRecorderSettings : NSObject <NSSecureCoding>
15
19
26 @property (nonatomic, assign, readwrite) AXRecordingMode recordingMode;
27
31 @property (nonatomic, assign, readonly) BOOL isRecordingAudio;
32
36 @property (nonatomic, assign, readonly) BOOL isRecordingVideo;
37
42 @property (nonatomic, assign, readwrite) AXTorchMode torchMode;
43
47 @property (nonatomic, assign, readwrite) AXVideoOrientation videoOrientation;
48
53 @property (nonatomic, assign, readwrite) AXCamera currentCamera;
54
59 @property (nonatomic, assign, readwrite) NSInteger frameRate;
60
65 @property (nonatomic, assign, readwrite) NSInteger keyFrameInterval;
66
71 @property (nonatomic, assign, readwrite) NSInteger audioSampleRate;
72
77 @property (nonatomic, assign, readwrite) NSInteger videoBitrate;
78
83 @property (nonatomic, assign, readwrite) AXVideoFrameResolution videoFrameResolution;
84
89 @property (nonatomic, assign, readwrite) BOOL videoFrameResolutionInverted;
90
95 @property (nonatomic, assign, readonly) AXVideoFrameSize videoFrameSize;
96
100
106 + (instancetype)recorderSettings;
107
115 + (instancetype)recorderSettingsWithVideoFrameSize:(AXVideoFrameResolution)frameSize;
116
124 + (instancetype)recorderSettingsWithArchivedData:(NSData *)data;
125
129
135 - (void)useCustomVideoFrameSize:(AXVideoFrameSize)frameSize;
136
142 - (NSData *)archivedSettings;
143
144 @end
AXRecorderSettings::videoFrameSize
AXVideoFrameSize videoFrameSize
Definition: AXRecorderSettings.h:95
AXRecorderSettings::frameRate
NSInteger frameRate
Definition: AXRecorderSettings.h:59
+[AXRecorderSettings recorderSettings]
instancetype recorderSettings()
AXRecorderSettings::audioSampleRate
NSInteger audioSampleRate
Definition: AXRecorderSettings.h:71
AXRecorderSettings::isRecordingAudio
BOOL isRecordingAudio
Definition: AXRecorderSettings.h:31
AXRecorderSettings::currentCamera
AXCamera currentCamera
Definition: AXRecorderSettings.h:53
AXRecorderSettings::videoFrameResolutionInverted
BOOL videoFrameResolutionInverted
Definition: AXRecorderSettings.h:89
AXRecorderSettings::keyFrameInterval
NSInteger keyFrameInterval
Definition: AXRecorderSettings.h:65
AXRecorderSettings::videoFrameResolution
AXVideoFrameResolution videoFrameResolution
Definition: AXRecorderSettings.h:83
AXRecorderSettings::torchMode
AXTorchMode torchMode
Definition: AXRecorderSettings.h:42
AXRecorderSettings
Definition: AXRecorderSettings.h:14
AXRecorderSettings::videoOrientation
AXVideoOrientation videoOrientation
Definition: AXRecorderSettings.h:47
AXRecorderSettings::videoBitrate
NSInteger videoBitrate
Definition: AXRecorderSettings.h:77
AXRecorderSettings::recordingMode
AXRecordingMode recordingMode
Definition: AXRecorderSettings.h:26
-[AXRecorderSettings archivedSettings]
NSData * archivedSettings()
AXVideoFrameSize
Definition: AXRecorderDefines.h:205
AXRecorderSettings::isRecordingVideo
BOOL isRecordingVideo
Definition: AXRecorderSettings.h:36