Firefox Tomorrow

web api instance property

MediaStreamTrack: readyState property

View on MDN ↗

The readyState read-only property of the MediaStreamTrack interface returns an enumerated value giving the status of the track.

Value

It takes one of the following values:

  • "live" which indicates that an input is connected and does its best-effort in providing real-time data. In that case, the output of data can be switched on or off using the enabled property.
  • "ended" which indicates that the input is not giving any more data and will never provide new data.

Specifications

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also