diff --git a/index.bs b/index.bs index c140f86..975f22f 100644 --- a/index.bs +++ b/index.bs @@ -412,6 +412,11 @@ platform UI or media keys, thereby improving the user experience. the action's intent is to open the media session in a picture-in-picture window. +
+ A user agent MUST invoke {{MediaSessionActionHandler}} for + {{MediaSessionAction/voiceactivity}} only when the voice activity is + detected from a source with one or more live {{MediaStreamTrack}}s. A user + agent MAY ignore a {{MediaSessionAction/voiceactivity}} action if all + {{MediaStreamTrack}}s associated with the source are not + {{MediaStreamTrack/muted}}. It is RECOMMENDED for user agents to set a + minimal interval for invoking {{MediaSessionActionHandler}} for + {{MediaSessionAction/voiceactivity}} based on privacy and power efficiency + policies. +
A page should only register a {{MediaSessionActionHandler}} for a media
@@ -716,7 +732,8 @@ enum MediaSessionAction {
"hangup",
"previousslide",
"nextslide",
- "enterpictureinpicture"
+ "enterpictureinpicture",
+ "voiceactivity"
};
callback MediaSessionActionHandler = undefined(MediaSessionActionDetails details);
@@ -1496,6 +1513,7 @@ parameter whose dictionary type is: