muted property
bool
get
muted
The muted
read-only property of the
MediaStreamTrack interface returns a boolean value
indicating whether or not the track is currently unable to provide media
output.
Note: To implement a way for users to mute and unmute a track, use the MediaStreamTrack.enabled property. When a track is disabled by setting
enabled
tofalse
, it generates only empty frames (audio frames in which every sample is 0, or video frames in which every pixel is black).
Implementation
external bool get muted;