From 6879d5257a2bf91757008858d0d8e9103b7d6c56 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fran=C3=A7ois=20Daoust?=
+spec:html; type:element; text:link
+
+
urlPrefix: https://html.spec.whatwg.org/multipage/; spec: HTML
- type:element; text:link
type: dfn
- urlPrefix: media.html
- text: muted; url: #concept-media-muted
- text: potentially playing
urlPrefix: webappapis.html
text: entry settings object
urlPrefix: interaction.html
text: activation notification
- type: dfn;
- text: force Origin header flag
Introduction
@@ -167,10 +165,10 @@ platform UI or media keys, thereby improving the user experience.
playback state is to monitor the media elements whose node document's
[=Document/browsing context=] is the [=/browsing context=]. The
[=/browsing context=]'s guessed playback state is
- {{MediaSessionPlaybackState/"playing"}} if any of them is potentially
- playing and not muted, and is paused otherwise. Other information
- SHOULD also be considered, such as WebAudio and plugins.
+ {{MediaSessionPlaybackState/"playing"}} if any of them is
+ [=media element/potentially playing=] and not [=media element/muted=],
+ and is {{MediaSessionPlaybackState/"paused"}} otherwise. Other
+ information SHOULD also be considered, such as WebAudio and plugins.
@@ -263,7 +261,7 @@ platform UI or media keys, thereby improving the user experience. active media session.
- A user agent MAY expose microphone and camera state to web pages via - MediaStreamTrack muted state in addition to - {{MediaSessionAction/togglemicrophone}} or + A user agent MAY expose microphone and camera state to web pages via + {{MediaStreamTrack}}'s {{MediaStreamTrack/muted}} attribute in addition + to {{MediaSessionAction/togglemicrophone}} or {{MediaSessionAction/togglecamera}} [=media session action=]. In that case, the user agent MUST execute the corresponding {{MediaSessionActionHandler}} before running, as different tasks, the - steps defined to [=set MediaStreamTrack muted state=]. + steps defined to [$set a track's muted state$].
@@ -967,9 +965,9 @@ interface MediaSession {
active is
false
and false
otherwise.