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

2026-08-25 浏览 (1)

OH_AVRecorder_Config

typedef struct OH_AVRecorder_Config {...} OH_AVRecorder_Config

概述

提供媒体AVRecorder的配置定义。

起始版本: 18

相关模块: AVRecorder

所在头文件: avrecorder_base.h

汇总

成员变量

名称描述
OH_AVRecorder_AudioSourceType audioSourceType录制音频源类型。
OH_AVRecorder_VideoSourceType videoSourceType录制视频源类型。
OH_AVRecorder_Profile profile包含音频和视频编码配置。
char* url定义文件URL,格式为fd://xx。
OH_AVRecorder_FileGenerationMode fileGenerationMode指定录制输出文件的生成模式。
OH_AVRecorder_Metadata metadata包含录制媒体的附加元数据。
int32_t maxDuration指定录制的最大时长,单位为秒。

你可能感兴趣的鸿蒙文章

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/KV0nUeO1