Methods
This section contains the Media Capture and Streams methods reference documentation.
In this section
| Topic | Description |
|---|---|
|
Adds the MediaStreamTrack to this MediaStream | |
|
Applies constraints to the MediaStreamTrack object. | |
|
Clones the MediaStream and all of its tracks and generates a new id for the cloned object. | |
|
Returns information about available input and output media devices. | |
|
Returns a sequence of MediaStreamTrack objects in the stream's track set whose kind is set to "audio". | |
|
Returns the dictionary of the names of the containable properties that the object supports. | |
|
Returns the constraints that were set by the applyConstraints method. | |
|
Returns the settings of a MediaStreamTrack object. | |
|
Returns a dictionary of supported containable properties. | |
|
Returns a MediaStreamTrack object from the stream's track set. | |
|
Returns a sequence of MediaStreamTrack objects in the stream's track set, regardless of kind. | |
|
Prompts the user for permission, then returns a MediaStream object that represents audio or video input. | |
|
Returns a sequence of MediaStreamTrack objects in the stream's track set whose kind is set to "video". | |
|
Removes the MediaStreamTrack object from this MediaStream. | |
|
Stops the capture device. |