◆ archivedSettings()
| - (NSData *) archivedSettings |
|
|
|
Archive this object as a NSData object.
- Returns
- The archived data.
◆ recorderSettings()
| + (instancetype) recorderSettings |
|
|
|
Factory method for creating a default recorder settings object.
- Returns
- The initialized object.
◆ recorderSettingsWithArchivedData:()
| + (instancetype) recorderSettingsWithArchivedData: |
|
(NSData *) |
data |
|
Factory method for creating a recorder settings object from a previously archived data.
- Parameters
-
| data | The input archived data. |
- Returns
- The initialized object.
◆ recorderSettingsWithVideoFrameSize:()
| + (instancetype) recorderSettingsWithVideoFrameSize: |
|
(AXVideoFrameResolution) |
frameSize |
|
Factory method for creating a recorder settings object, with a desired frame size.
- Parameters
-
| frameSize | The video frame size. |
- Returns
- The initialized object.
◆ useCustomVideoFrameSize:()
Explicitly sets a custom frame size and sets the videoFrameResolution property to AXVideoFrameResolutionCustom.
- Parameters
-
| frameSize | The custom frame size in pixels. |
◆ audioSampleRate
| - (NSInteger) audioSampleRate |
|
readwritenonatomicassign |
The audio sample rate. The default and recommended value is 44100 Hz.
◆ currentCamera
| - (AXCamera) currentCamera |
|
readwritenonatomicassign |
The current facing camera. The default value is AXCameraBack.
◆ frameRate
The frames pe second to be used while streaming and recording video. The default value is 30fps.
◆ isRecordingAudio
| - (BOOL) isRecordingAudio |
|
readnonatomicassign |
Returns YES if the recording mode also includes audio.
◆ isRecordingVideo
| - (BOOL) isRecordingVideo |
|
readnonatomicassign |
Returns YES if the recording mode also includes video.
◆ keyFrameInterval
| - (NSInteger) keyFrameInterval |
|
readwritenonatomicassign |
The keyframe interval used for streaming. The default value is 30 frames.
◆ recordingMode
| - (AXRecordingMode) recordingMode |
|
readwritenonatomicassign |
The recording mode. The recorder may record only audio, only video or both video and audio. For audio recording, access to the deveice's microphone is needed. For audio recording, access to the deveice's camera is needed. The default value is AXRecordingModeAudioAndVideo.
◆ torchMode
| - (AXTorchMode) torchMode |
|
readwritenonatomicassign |
The torch setting while filming. The default value is AXTorchModeOff.
◆ videoBitrate
| - (NSInteger) videoBitrate |
|
readwritenonatomicassign |
The video bit rate (in bits per second). The default value is based on the videoFrameSize property.
◆ videoFrameResolution
| - (AXVideoFrameResolution) videoFrameResolution |
|
readwritenonatomicassign |
The video frame resolution. It is recommended to use the standard predefined resolutions and not the custom one. The default value is selected based on the screen size.
◆ videoFrameResolutionInverted
| - (BOOL) videoFrameResolutionInverted |
|
readwritenonatomicassign |
Flag indicating if the resolution width and height should be swapped. The default value is YES. This causes the streaming to be vertical by default. Set this property to NO to prevent that.
◆ videoFrameSize
The video frame size, in pixels. The value is determined by the videoFrameResolution value. If AXVideoFrameResolutionCustom is used, this must be set explicitly.
◆ videoOrientation
| - (AXVideoOrientation) videoOrientation |
|
readwritenonatomicassign |
The current video orientation. The default value is AXVideoOrientationAutorotate.
The documentation for this class was generated from the following file:
- /Users/mac/Documents/StreamaxiaSDK/Streamaxia Open SDK/StreamaxiaSDK.framework/Headers/AXRecorderSettings.h