Skip to content

Commit

Permalink
Update the condition when UA may ignore voiceactivity.
Browse files Browse the repository at this point in the history
MediaStreamTrack.muted is a readonly attribute. Replace it with enabled,
which can be set by the application.
  • Loading branch information
jianjunz committed Jul 12, 2024
1 parent 6b22a34 commit f7ebd3d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -550,12 +550,12 @@ platform UI or media keys, thereby improving the user experience.
A user agent MUST invoke the {{MediaSessionActionHandler}} for
{{MediaSessionAction/voiceactivity}} only when voice activity is detected
from a microphone 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 between invocations of the {{MediaSessionActionHandler}}
for {{MediaSessionAction/voiceactivity}} based on privacy and power
efficiency policies.
agent MAY ignore a {{MediaSessionAction/voiceactivity}} action if
microphone is not muted and all {{MediaStreamTrack}}s associated with the
source are {{MediaStreamTrack/enabled}}. It is RECOMMENDED for user agents
to set a minimal interval between invocations of the
{{MediaSessionActionHandler}} for {{MediaSessionAction/voiceactivity}}
based on privacy and power efficiency policies.
</p>

<p class=note>
Expand Down

0 comments on commit f7ebd3d

Please sign in to comment.