Skip to content

Commit

Permalink
Merge pull request #685 from jan-ivar/mutemute
Browse files Browse the repository at this point in the history
Don't fire mute event on already muted track. Ditto unmute/unmuted.
  • Loading branch information
alvestrand authored Apr 23, 2020
2 parents be0c927 + 9510bc9 commit 8ba848f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions getusermedia.html
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,10 @@ <h4>Media Flow</h4>
<p>Let <var>track</var> be the {{MediaStreamTrack}} in
question.</p>
</li>
<li>
<p>If <var>track</var>.{{MediaStreamTrack/muted}} is already
<var>newState</var>, then abort these steps.</p>
</li>
<li>
<p>Set <var>track</var>.{{MediaStreamTrack/muted}} to
<var>newState</var>.</p>
Expand Down

0 comments on commit 8ba848f

Please sign in to comment.