This page is In Progress

Notice: The WebPlatform project has been discontinued when the Stewards partnership agreement ended in September 2015. This site has been frozen, and the assets we have created will remain.



The track’s ready state; values.

Property of apis/webrtc/MediaStreamTrackapis/webrtc/MediaStreamTrack


Note: This property is read-only.

var state = track.readyState;

Return Value

Returns an object of type unsigned shortunsigned 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.