Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Address comments.
Browse files Browse the repository at this point in the history
jianjunz committed Jul 12, 2024
1 parent 7240fbe commit 6b22a34
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions index.bs
Original file line number Diff line number Diff line change
@@ -414,8 +414,8 @@ platform UI or media keys, thereby improving the user experience.
</li>
<li>
<dfn enum-value for=MediaSessionAction>voiceactivity</dfn>:
the action's intent is to notify the web page that a voice activity
has been detected by the microphone.
the action's intent is to notify the web page that voice activity has
been detected by the microphone.
</li>
</ul>
</p>
@@ -553,21 +553,21 @@ platform UI or media keys, thereby improving the user experience.
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.
minimal interval between invocations of the {{MediaSessionActionHandler}}
for {{MediaSessionAction/voiceactivity}} based on privacy and power
efficiency policies.
</p>

<p class=note>
{{MediaSessionAction/voiceactivity}} only indicates the start of a voice
activity. Application may display a notification if the user is speaking
{{MediaSessionAction/voiceactivity}} only indicates the start of voice
activity. Applications may display a notification if the user is speaking
while the {{MediaStreamTrack}} is muted, or start an {{AudioWorklet}} for
audio processing. No action is defined for the end of a voice activity.
Unlike other actions which are explicitely triggered by the user,
audio processing. No action is defined for the end of voice activity.
Unlike other actions which are explicitly triggered by the user,
{{MediaSessionAction/voiceactivity}} also depends on the voice activity
detection algorithm of the user agent or the system. For privacy and power
efficiency concern, web page may not be notified if the second voice
activity started soon after last {{MediaSessionAction/voiceactivity}}
efficiency concerns, the web page may not be notified if voice activity
ends and restarts soon after the last {{MediaSessionAction/voiceactivity}}
action.
</p>

0 comments on commit 6b22a34

Please sign in to comment.