harmony 鸿蒙OH_AVRecorder_Config

2025-06-16 浏览 (1)

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指定录制的最大时长。

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Media Kit(媒体服务)

harmony 鸿蒙Interface (AVImageGenerator)

harmony 鸿蒙Interface (AVMetadataExtractor)

harmony 鸿蒙Interface (AVPlayer)

harmony 鸿蒙Interface (AVRecorder)

harmony 鸿蒙Interface (AVScreenCaptureRecorder)

harmony 鸿蒙Interface (AVTranscoder)

harmony 鸿蒙废弃的Interface (AudioPlayer, deprecated)

harmony 鸿蒙废弃的Interface (AudioRecorder, deprecated)

harmony 鸿蒙Interface (MediaSource)

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