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. |
你可能感兴趣的鸿蒙文章
openharmony 鸿蒙 capi-avrecorder-oh-avrecorder-range
openharmony 鸿蒙 errorcode-media
openharmony 鸿蒙 capi-avplayer-base-h
openharmony 鸿蒙 capi-avimage-generator-h
openharmony 鸿蒙 capi-avscreencapture-oh-rect
openharmony 鸿蒙 capi-videoprocessing-videoprocessing-callback
openharmony 鸿蒙 capi-avsinkbase
openharmony 鸿蒙 capi-avmetadataextractor
openharmony 鸿蒙 capi-avscreencapture-oh-multidisplaycapability