harmony 鸿蒙OH_AVRecorder_Config

  • 2025-06-12
  • 浏览 (4)

OH_AVRecorder_Config

Overview

The OH_AVRecorder_Config 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.|

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Media Kit

harmony 鸿蒙AVImageGenerator

harmony 鸿蒙AVMetadataExtractor

harmony 鸿蒙AVPlayer

harmony 鸿蒙AVPlayerCallback

harmony 鸿蒙AVRecorder

harmony 鸿蒙AVScreenCapture

harmony 鸿蒙OH_AVRecorder_Config

harmony 鸿蒙OH_AVRecorder_EncoderInfo

harmony 鸿蒙OH_AVRecorder_Location

0  赞