From 959fe882516e5e48d21d0a03bb60853d5109579c Mon Sep 17 00:00:00 2001 From: xuzhangchi Date: Tue, 17 Jun 2025 11:42:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BD=95=E5=B1=8F=E6=A1=86=E6=9E=B6=E6=96=B0?= =?UTF-8?q?=E5=A2=9E=E4=BD=BF=E8=83=BD=20B=20=E5=B8=A7=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xuzhangchi --- api/@ohos.multimedia.media.d.ts | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/api/@ohos.multimedia.media.d.ts b/api/@ohos.multimedia.media.d.ts index 941a3319c3..38aa5679cb 100755 --- a/api/@ohos.multimedia.media.d.ts +++ b/api/@ohos.multimedia.media.d.ts @@ -8235,6 +8235,14 @@ declare namespace media { * @since 20 */ keepCaptureDuringCall?: boolean; + + /** + * Indicates whether to enable B-frame encoding, whitch is used to reduce the size of the recorded file. + * @type { ?boolean } The default value is false, which means B frames encoding are disabled. + * @syscap SystemCapability.Multimedia.Media.AVScreenCapture + * @since 20 + */ + enableBFrame?: boolean; } /** -- Gitee