From 77a22d121f695bd4b14776ee605c8ee4d131e2f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E5=BF=97=E5=AE=9D?= Date: Mon, 23 Jun 2025 20:59:25 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9setMedia=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: If66d336ea8f421d6df8ce1098979c80079d5fbcb Signed-off-by: 马志宝 --- api/@ohos.multimedia.media.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/@ohos.multimedia.media.d.ts b/api/@ohos.multimedia.media.d.ts index 22c85d5963..406fb3ab53 100755 --- a/api/@ohos.multimedia.media.d.ts +++ b/api/@ohos.multimedia.media.d.ts @@ -2524,7 +2524,7 @@ declare namespace media { * Mute specified media stream. This API can be called only when the AVPlayer is in the prepared, playing, * paused, or completed state. * @param { MediaType } mediaType - specified media Type, see [MediaType]{@link #MediaType}. - * The parameter can be set only to the audio format. + * The parameter can be set only to the audio and video format. * @param { boolean } muted - true for mute, false for unmute. * @returns { Promise } A Promise instance used to return when setMediaMuted completed. * @throws { BusinessError } 401 - The parameter check failed. Return by promise. -- Gitee From 570ec0fc40023f4f07a2edbb22b1e4983f255b0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E5=BF=97=E5=AE=9D?= Date: Thu, 26 Jun 2025 09:12:35 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E6=94=B9setMedia=E6=8E=A5?= =?UTF-8?q?=E5=8F=A3=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: Iff7932fc789ea4f1ba8c84ec45245a5b565b18fe Signed-off-by: 马志宝 --- api/@ohos.multimedia.media.d.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/api/@ohos.multimedia.media.d.ts b/api/@ohos.multimedia.media.d.ts index 406fb3ab53..5de3a1618e 100755 --- a/api/@ohos.multimedia.media.d.ts +++ b/api/@ohos.multimedia.media.d.ts @@ -2523,8 +2523,7 @@ declare namespace media { /** * Mute specified media stream. This API can be called only when the AVPlayer is in the prepared, playing, * paused, or completed state. - * @param { MediaType } mediaType - specified media Type, see [MediaType]{@link #MediaType}. - * The parameter can be set only to the audio and video format. + * @param { MediaType } mediaType - specified media Type, see [MediaType]{@link #MediaType}. * @param { boolean } muted - true for mute, false for unmute. * @returns { Promise } A Promise instance used to return when setMediaMuted completed. * @throws { BusinessError } 401 - The parameter check failed. Return by promise. -- Gitee