state

open external val state: CodecState(source)

The state read-only property of the VideoDecoder interface returns the current state of the underlying codec.

MDN Reference