This article is In Progress.
W3C Working Draft
The track's ready state; values.
Property of apis/webrtc/MediaStreamTrack
Note: This property is read-only.
var state = track.;
Returns an object of type unsigned short
- LIVE (0)- the track is active; the output may be switched on and off with the enabled attribute.
- MUTED (1) - the track's underlying media source is temporarily unable to provide realtime data.
- ENDED (2) - the track has ended, and the underlying media source will not provide further data.
Needs Examples: This section should include examples.