peerix - v0.1.0
    Preparing search index...

    Interface PeerTrackEvent

    Emitted when a remote peer adds or removes a media track to a published stream.

    interface PeerTrackEvent {
        id: string;
        label: string;
        name: "track:add" | "track:remove";
        remote: RemotePeer;
        stream: MediaStream;
        track: MediaStreamTrack;
    }
    Index

    Properties

    id: string

    Local peer identifier.

    label: string

    Label of the media stream.

    name: "track:add" | "track:remove"

    Name of the event.

    remote: RemotePeer

    Remote peer object containing connection details.

    stream: MediaStream

    Media stream associated with the event.

    track: MediaStreamTrack

    Media track associated with the event.