Skip to content

Commit

Permalink
Update mute/unmute SHOULD language to match best practice from w3c#912.
Browse files Browse the repository at this point in the history
  • Loading branch information
jan-ivar committed Mar 3, 2023
1 parent 92ea82d commit 2fd3ff8
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions getusermedia.html
Original file line number Diff line number Diff line change
Expand Up @@ -801,11 +801,11 @@ <h4>Life-cycle</h4>
becomes both [= track/muted | unmuted =] and
[= track/enabled =] again, provided that track's
[=relevant global object=]'s [=associated `Document`=]
<a data-cite="!HTML/#gains-focus">has focus</a> at that time. If the
document does not <a data-cite="!HTML/#gains-focus">have focus</a> at that time,
[=is in view=] at that time. If the
document is not [=is in view|in view=] at that time,
the UA SHOULD instead queue a task to <a data-lt=muted>mute</a> the
track, and not queue a task to <a data-lt=muted>unmute</a> it until
the document <a data-cite="!HTML/#gains-focus">regains focus</a>.
the document comes [=is in view|into view=].
If reacquiring the device fails, the UA MUST
[= track ended by the User agent | end the track =] (The UA MAY end it earlier
should it detect a device problem, like the device being physically
Expand Down

0 comments on commit 2fd3ff8

Please sign in to comment.