The read-only property MediaStreamTrack.readyState returns an enumerated value giving the status of the track.
The readyState read-only property of the MediaSource interface returns an enum representing the state of the current MediaSource. The three possible values are: