state

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

MDN Reference