Results 1 - 17 of 17

MediaStreamTrack.id

The read-only property MediaStreamTrack.id returns a DOMString containing a unique identifier (GUID) for the track; it is generated by the browser.
MediaStreamTrack Property Read-only Reference Référence WebRTC

MediaStreamTrack.kind

The read-only property MediaStreamTrack.kind returns a DOMString set to "audio" if the track is an audio track and to "video", if it is a video track. It doesn't change if the track is deassociated from its source.
MediaStreamTrack Property Read-only Reference WebRTC

MediaStreamTrack.label

The read-only property MediaStreamTrack.label returns a DOMString containing a user agent-assigned label that identifies the track source, as in "internal microphone". The string may be left empty and is empty as long as no source has been connected. When the track is deassociated from its source, the label is not changed.
MediaStreamTrack Property Read-only Reference Référence WebRTC

MediaStreamTrack.onmute

The MediaStreamTrack.onmute event handler is a property called when the mute event is received. Such an event is sent when the track is temporarily not able to send data.
Event Handler MediaStreamTrack Property Reference Référence WebRTC

MediaStreamTrack.remote

The MediaStreamTrack.remote read-only property allows Javascript to know whether a WebRTC MediaStreamTrack is from a remote source or a local one. It returns a Boolean with a value of true if the track is sourced remotely (that is, sourced by an RTCPeerConnection), or false if it is sourced locally.
MediaStreamTrack Property Read-only Reference WebRTC

MediaStreamTrack.enabled

The MediaStreamTrack.enabled property returns a Boolean with a value of true if the track is enabled, that is allowed to render the media source stream; or false if it is disabled, that is not rendering the media source stream but silence and blackness. If the track has been disconnected, this value can be changed but has no effect.
enabled Media MediaStreamTrack Property Read-only Reference WebRTC

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

MediaStreamTrack.onended

The MediaStreamTrack.onended event handler is used to specify a function which serves as an EventHandler to be called when the ended event occurs on the track. This event occurs when the track will no longer provide data to the stream for any reason, including the end of the media input being reached, the user revoking needed permissions, the source device being removed, or the remote peer ending a connection.
API Event Handler Media Streams API MediaStreamTrack onended Property Reference

MediaStreamTrack.onunmute

The MediaStreamTrack.onunmute event handler is a property called when the unmute event is received. Such an event is sent when the track is again able to send data.
API Event Handler MediaStreamTrack Property Reference Référence WebRTC

MediaStreamTrack.readyState

The read-only property MediaStreamTrack.readyState returns an enumerated value giving the status of the track.
API Media Stream API MediaStreamTrack Property Read-only readyState Reference

MediaStreamTrack.stop()

The MediaStreamTrack.stop() method stops playing the source associated with the track. Both the source and the track are deassociated. The track state is set to ended.
API Media Stream API MediaStreamTrack Method Reference Référence stop WebRTC

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

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