openharmony 鸿蒙 capi-avrecorder-oh-avrecorder-config

2026-08-25 浏览 (1)

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

NameDescription
OH_AVRecorder_AudioSourceType audioSourceTypeType of the audio source to record.
OH_AVRecorder_VideoSourceType videoSourceTypeType of the video source to record.
OH_AVRecorder_Profile profileAudio and video encoding configuration.
char* urlPointer to the URL of the recording output file, in the format of fd://xx.
OH_AVRecorder_FileGenerationMode fileGenerationModeMode for generating the recording output file.
OH_AVRecorder_Metadata metadataMetadata of the recorded media.
int32_t maxDurationMaximum recording duration, in seconds.

你可能感兴趣的鸿蒙文章

openharmony 鸿蒙 capi-avrecorder-oh-avrecorder-range

openharmony 鸿蒙 errorcode-media

openharmony 鸿蒙 capi-avplayer

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

  • 所属分类: 后端技术
  • 本文标签: 软件 鸿蒙
  • 版权声明: 本文链接 https://seaxiang.com/blog/U3yun2An