readyState

Jump to: navigation, search

readyState

This article is In Progress.


W3C Working Draft

Summary

The track's ready state; values.




Property of apis/webrtc/MediaStreamTrack

Syntax

Note: This property is read-only.

var state = track.readyState;

Return Value

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.


Compatibility

There is no data available for topic "webapi", feature "readyState". If you think that there should be data available, consider opening an issue.

Needs Examples: This section should include examples.