This page is In Progress

Notice: The WebPlatform project, supported by various stewards between 2012 and 2015, has been discontinued. This site is now available on github.

LocalMediaStream

Summary

The LocalMediaStream object is the MediaStream object returned from the call to getUserMedia(). It has all the properties and events of the MediaStream object and the stop method.

Inherits from MediaStreamMediaStream

Properties

No properties.

Methods

stop
Permanently halts the generation of data for the tracks’ sources and removes the references to the sources.

Events

No events.

Inherited from MediaStream

Properties

audioTracks
The MediaStreamTrackList object representing the audio tracks.
ended
True if the ended event has fired on the MediaStream object.
label
A globally unique identifier (GUID) of 36 characters that describes the media stream.
onended
Handles the ended event when fired on the MediaStream object.
videoTracks
The MediaStreamTrackList object representing the video tracks.

Methods

No methods.

Events

ended
All tracks of the MediaStream object have ended; the MediaStream is said to be finished.