peerix - v0.1.0
    Preparing search index...

    Interface PeerStreamEvent

    Emitted when a remote peer publishes or unpublishes a media stream.

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

    Properties

    id: string

    Local peer identifier.

    label: string

    Label of the media stream.

    name: "stream:add" | "stream:remove"

    Name of the event.

    remote: RemotePeer

    Remote peer object containing connection details.

    stream: MediaStream

    Media stream associated with the event.