1# OH_AVRecorder_Config 2<!--Kit: Media Kit--> 3<!--Subsystem: Multimedia--> 4<!--Owner: @shiwei75--> 5<!--Designer: @HmQQQ--> 6<!--Tester: @xdlinc--> 7<!--Adviser: @zengyawen--> 8 9## Overview 10 11The struct describes the AVRecorder configuration. 12 13**Since**: 18 14 15**Related module**: [AVRecorder](capi-avrecorder.md) 16 17**Header file**: [avrecorder_base.h](capi-avrecorder-base-h.md) 18 19## Summary 20 21### Member Variables 22 23| Name| Description| 24| -- | -- | 25| [OH_AVRecorder_AudioSourceType](capi-avrecorder-base-h.md#oh_avrecorder_audiosourcetype) audioSourceType | Type of the audio source to record.| 26| [OH_AVRecorder_VideoSourceType](capi-avrecorder-base-h.md#oh_avrecorder_videosourcetype) videoSourceType | Type of the video source to record.| 27| [OH_AVRecorder_Profile](capi-avrecorder-oh-avrecorder-profile.md) profile | Audio and video encoding configuration.| 28| char* url | Pointer to the URL of the recording output file, in the format of fd://xx.| 29| [OH_AVRecorder_FileGenerationMode](capi-avrecorder-base-h.md#oh_avrecorder_filegenerationmode) fileGenerationMode | Mode for generating the recording output file.| 30| [OH_AVRecorder_Metadata](capi-avrecorder-oh-avrecorder-metadata.md) metadata | Metadata of the recorded media.| 31| int32_t maxDuration | Maximum recording duration.| 32