Results 1 - 12 of 12

MediaStreamTrack.getSettings()

The getSettings() method of the MediaStreamTrack interface returns a MediaTrackSettings object containing the current values of each of the constrainable properties for the current MediaStreamTrack. See "Capabilities and constraints" in Media Capture and Streams API (Media Streams) for details on how to work with constrainable properties.
API Constraints getSettings Media Capture and Streams MediaStreamTrack Method Reference

muted

The muted read-only property of the MediaStreamTrack interface returns a Boolean value indicating whether the track is muted.
API Media Capture and Streams MediaStreamTrack muted Property Reference

Media Capture and Streams API (Media Streams)

The Media Capture and Streams API, often called the Media Stream API or the Stream API,  is an API related to WebRTC which supports streams of audio or video data, the methods for working with them, the constraints associated with the type of data, the success and error callbacks when using the data asynchronously, and the events that are fired during the process.
Advanced API Audio audio Guide Media Capture and Streams API Media Streams API NeedsContent video Video

MediaStream.clone()

The clone() method of the MediaStream interface creates a duplicate of the MediaStream. This new MediaStream object has a new unique id and contains clones of every MediaStreamTrack contained by the MediaStream on which clone() was called.
API clone Media Capture and Streams Media Stream API MediaStream Method Reference

MediaStreamTrack.applyConstraints()

The applyConstraints() method of the MediaStreamTrack interface applies a set of constraints to the track; these constraints let the Web site or app establish ideal values and acceptable ranges of values for the constrainable properties of the track, such as frame rate, dimensions, echo cancelation, and so forth.
API applyConstraints Constraints Media Capture and Streams API Media Streams API MediaStreamTrack Method

MediaStreamTrack.clone()

The clone() method of the MediaStreamTrack interface creates a duplicate of the MediaStreamTrack. This new MediaStreamTrack object is identical except for its unique id.
API clone Media Capture and Streams Media Streams API MediaStreamTrack Method Reference

MediaStreamTrack.getCapabilities()

The getCapabilities() method of the MediaStreamTrack interface returns a MediaTrackCapabilities object which specifies the values or range of values which each constrianable property, based upon the platform and user agent.
API getCapabilities Media Capture and Streams API Media Streams API MediaStreamTrack Method Reference

MediaStreamTrack.getConstraints()

The getConstraints() method of the MediaStreamTrack interface returns a MediaTrackConstraints object containing the set of constraints most recently established for the track using a prior call to applyConstraints(). These constraints indicate values and ranges of values that the Web site or application has specified are acceptable for the included constrainable properties.
API getConstraints Media Capture and Streams Media Streams API MediaStreamTrack Method Reference

MediaTrackConstraints

The MediaTrackConstraints dictionary is used to describe a set of capabilities and the value or values each can take on. A constraints dictionary is passed into applyConstraints() to allow a script to establish a set of ideal values and/or preferred ranges of values for the track, and the most recently-requested set of custom constraints can be retrieved by calling getConstraints().
API Dictionary Interface Media Capture and Streams API Media Streams API MediaTrackConstraints Reference

MediaTrackSupportedConstraints

The MediaTrackSupportedConstraints dictionary establishes the list of constrainable properties recognized by the user agent or browser in its implementation of the MediaStreamTrack object. An object conforming to MediaTrackSupportedConstraints is returned by MediaDevices.getSupportedConstraints().
API Constraints Dictionary Interface Media Capture and Streams API Media Streams API MediaTrackSupportedConstraints Reference

MediaStreamTrack

The MediaStreamTrack interface represents a single media track within a stream; typically, these are audio or video tracks, but other track types may exist as well.
API audio Audio Experimental Interface Media Media Capture and Streams API Media Streams API MediaStreamTrack Reference video Video WebRTC

MediaTrackSettings

The MediaTrackSettings dictionary is used to return the current values configured for each of a MediaStreamTrack's settings. These values will adhere as closely as possible to any constraints previously set using applyConstraints(), and will adhere to the default constraints for any properties whose constraints haven't been changed, or whose customized constraints couldn't be matched.
API Audio audio Constraints Dictionary Interface Media Media Capture and Streams API Media Streams API MediaTrackSettings Reference Video video