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.

enabled

Summary

Enables the track if the new value is true, and disable it otherwise.

Property of apis/media_capture_and_streams/MediaStreamTrackapis/media_capture_and_streams/MediaStreamTrack

Syntax

var result = track.enabled;
track.enabled = value;

Return Value

Returns an object of type BooleanBoolean