Navigation Menu

Skip to content

Commit

Permalink
LC-3025: Add note about addtrack and removetrack not being used by th…
Browse files Browse the repository at this point in the history
…is spec
  • Loading branch information
adam-be committed May 28, 2015
1 parent 6baf1bd commit dfb14e3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions getusermedia.html
Expand Up @@ -1395,6 +1395,15 @@ <h3>MediaStreamTrackEvent</h3>
"#event-mediastream-removetrack">removetrack</a></code> events use the
<code><a>MediaStreamTrackEvent</a></code> interface.</p>

<p>The <code>addtrack</code> and <code>removetrack</code> events notifies
the script that the <a href="#track-set">track set</a> of a
<code><a>MediaStream</a></code> has been updated by the User Agent. This
specification does not specify any such cases, but other specifications
using the MediaStream API may. One such example is the WebRTC 1.0
[[WEBRTC10]] specification where the <a href="#track-set">track set</a>
of a <code><a>MediaStream</a></code>, received from an other peer, can be
updated as a result of changes to the media session.</p>

<p><dfn title="Fire a track event">Firing a track event named
<var>e</var></dfn> with a <code><a>MediaStreamTrack</a></code>
<var>track</var> means that an event with the name <var>e</var>, which
Expand Down

0 comments on commit dfb14e3

Please sign in to comment.