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.

readonly

Summary

Returns true If the track (audio or video) is backed by a read-only source such as a file, or the track source is a local microphone or camera, but is shared so that this track cannot modify any of the source’s settings. Returns false otherwise.

Property of apis/media_capture_and_streams/MediaStreamTrackapis/media_capture_and_streams/MediaStreamTrack

Syntax

Note: This property is read-only.

var result = track.readonly;

Return Value

Returns an object of type BooleanBoolean