Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/evt/lib/types/index.ts>dom.MediaStreamTrackEvent

💧EventEmitter's typesafe replacement
Go to Latest
interface dom.MediaStreamTrackEvent
implements Event
import { type dom } from "https://deno.land/x/evt@v2.5.6/lib/types/index.ts";
const { MediaStreamTrackEvent } = dom;

Events which indicate that a MediaStream has had tracks added to or removed from the stream through calls to Media Stream API methods. These events are sent to the stream when these changes occur.