OH_AVRecorder_Config
typedef struct OH_AVRecorder_Config {...} OH_AVRecorder_Config
Overview
The struct describes the AVRecorder configuration.
Since: 18
Related module: AVRecorder
Header file: avrecorder_base.h
Summary
Member Variables
| Name | Description |
|---|---|
| OH_AVRecorder_AudioSourceType audioSourceType | Type of the audio source to record. |
| OH_AVRecorder_VideoSourceType videoSourceType | Type of the video source to record. |
| OH_AVRecorder_Profile profile | Audio and video encoding configuration. |
| char* url | Pointer to the URL of the recording output file, in the format of fd://xx. |
| OH_AVRecorder_FileGenerationMode fileGenerationMode | Mode for generating the recording output file. |
| OH_AVRecorder_Metadata metadata | Metadata of the recorded media. |
| int32_t maxDuration | Maximum recording duration, in seconds. |