From 223a33706ece7b9eb43d3047f1599b4e7054ebab Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E6=B1=B6=E8=B0=8F?= Date: Wed, 8 Jan 2025 09:49:02 +0000 Subject: [PATCH] =?UTF-8?q?add=20=20maxDuration=20=E5=BD=95=E5=88=B6?= =?UTF-8?q?=E6=9C=80=E5=A4=A7=E6=97=B6=E9=95=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 刘汶谏 --- multimedia/player_framework/avrecorder_base.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/multimedia/player_framework/avrecorder_base.h b/multimedia/player_framework/avrecorder_base.h index 27f397f69..79b562191 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; /** -- Gitee