Skip to content

Commit

Permalink
Merge pull request #318 from adam-be/track-stop
Browse files Browse the repository at this point in the history
MediaStreamTrack.stop(): Address early return for non-locally sourced tracks (issue #314)
  • Loading branch information
alvestrand committed Mar 3, 2016
2 parents 13cc9a4 + 71cc55f commit a2cbd48
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions getusermedia.html
Original file line number Diff line number Diff line change
Expand Up @@ -545,7 +545,10 @@ <h2>MediaStream</h2>
<section>
<h2>MediaStreamTrack</h2>
<p>A <code><a>MediaStreamTrack</a></code> object represents a media
source in the User Agent. Several <code><a>MediaStreamTrack</a></code>
source in the User Agent. An example source is a device connected to the
User Agent. Other specifications may define sources for <code>
<a>MediaStreamTrack</a></code> that override the behavior specified here.
Several <code><a>MediaStreamTrack</a></code>
objects can represent the same media source, e.g., when the user chooses
the same camera in the UI shown by two consecutive calls to
<code><a>getUserMedia()</a></code> .</p>
Expand Down Expand Up @@ -881,15 +884,12 @@ <h3>Interface Definition</h3>
<p>Let <var>track</var> be the current
<code><a>MediaStreamTrack</a></code> object.</p>
</li>
<li>
<p>If <var>track</var> is sourced by a non-local source, then
abort these steps.</p>
</li>
<li>
<p>Notify <var>track</var>'s source that <var>track</var> is
<a href="#track-ended">ended</a> so that the source may be
<a href="#source-stopped">stopped</a>, unless other
<code><a>MediaStreamTrack</a></code> objects depend on it.</p>
<a href="#track-ended">ended</a>.</p>
<p>A source that is notified of a track ending will be <a href=
"#source-stopped">stopped</a>, unless other <code>
<a>MediaStreamTrack</a></code> objects depend on it.</p>
</li>
<li>
<p>Set <var>track's</var> <code><a href=
Expand Down

0 comments on commit a2cbd48

Please sign in to comment.