Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Revision 699773 of LocalMediaStream

  • Revision slug: Web/API/LocalMediaStream
  • Revision title: LocalMediaStream
  • Revision id: 699773
  • Created:
  • Creator: Potch
  • Is current revision? No
  • Comment Documentation of this object and its stop method was missing from the site.

Revision Content

{{WebRTCref("MediaStream API")}} {{SeeCompatTable}}

The LocalMediaStream interface represents a stream of media content fetched from a local data source. This is the interface returned by getUserMedia().

Methods

See Also

{{domxref("LocalMediaStream.stop()")}}
Stops the stream. When the source of the stream is a connected device (such as a camera or microphone), stops capture on the device.

Revision Source

<div>
 {{WebRTCref("MediaStream API")}} {{SeeCompatTable}}</div>
<p>The <strong><code>LocalMediaStream</code></strong><strong> </strong>interface represents a stream of media content fetched from a local data source. This is the interface returned by <code><a href="/en-US/docs/WebRTC/navigator.getUserMedia" title="/en-US/docs/WebRTC/navigator.getUserMedia">getUserMedia()</a></code>.</p>
<h2 id="Methods">Methods</h2>
<h2>See Also</h2>
<dl>
 <dt>
  {{domxref("LocalMediaStream.stop()")}}</dt>
 <dd>
  Stops the stream. When the source of the stream is a connected device (such as a camera or microphone), stops capture on the device.</dd>
</dl>
<ul>
 <li>Using the MediaStream API</li>
 <li><a href="/en-US/docs/WebRTC/navigator.getUserMedia" title="/en-US/docs/WebRTC/navigator.getUserMedia">getUserMedia()</a></li>
</ul>
Revert to this revision