enabled property

bool enabled

Returns the enable state of MediaStreamTrack

Implementation

bool get enabled;
void enabled=(bool b)

Set the enable state of MediaStreamTrack

Note: After a MediaStreamTrack has ended, setting the enable state will not change the ended state.

Implementation

set enabled(bool b);