diff --git a/multimedia/player_framework/avrecorder_base.h b/multimedia/player_framework/avrecorder_base.h index 27f397f69b5d0632a6caae2f989750269a4c0bbe..79b562191926c49124e32cb47055fbb3c96d661b 100644 --- a/multimedia/player_framework/avrecorder_base.h +++ b/multimedia/player_framework/avrecorder_base.h @@ -272,6 +272,8 @@ typedef struct OH_AVRecorder_Config { OH_AVRecorder_FileGenerationMode fileGenerationMode; /* Contains additional metadata for the recorded media */ OH_AVRecorder_Metadata metadata; + /* Set the longest duration allowed for current recording */ + int32_t maxDuration; } OH_AVRecorder_Config; /**