A MediaTrackState is alive if the corresponding MediaStreamTrack track bound to a transceiver and the
MediaStreamTrack is in state MediaStreamTrack.readyState === live
Returns boolean
setalive(isAlive:boolean):void
Parameters
isAlive: boolean
Returns void
enabled
getenabled():boolean
A MediaTrackState.isEnabled corresponding to MediaStreamTrack.enabled.
But these values only match if MediaTrackState.isAlive.
Returns boolean
setenabled(isEnabled:boolean):void
Parameters
isEnabled: boolean
Returns void
muted
getmuted():boolean
A MediaTrackState.isMuted corresponding to MediaStreamTrack.muted.
But these values only match if MediaTrackState.isAlive.
A MediaTrackState is alive if the corresponding MediaStreamTrack track bound to a transceiver and the MediaStreamTrack is in state MediaStreamTrack.readyState === live