readyState

open external val readyState: ReadyState(source)

The readyState read-only property of the MediaSource interface returns an enum representing the state of the current MediaSource. The three possible values are:

MDN Reference