peerix - v0.5.0
    Preparing search index...

    Interface RemotePeerChannelEvent

    Channel event data.

    interface RemotePeerChannelEvent {
        channel: RTCDataChannel;
        data?: ReadableStream<Uint8Array<ArrayBufferLike>> & PromiseLike<unknown>;
        error?: Error;
        id: string;
        info?: Record<string, unknown>;
        label: string;
        name:
            | "channel:new"
            | "channel:open"
            | "channel:close"
            | "channel:message"
            | "channel:error";
    }
    Index

    Properties

    channel: RTCDataChannel

    Data channel associated with the event.

    data?: ReadableStream<Uint8Array<ArrayBufferLike>> & PromiseLike<unknown>

    Data associated with the message event.

    error?: Error

    Error associated with the error event.

    id: string

    Unique identifier for the remote peer.

    info?: Record<string, unknown>

    Optional additional information associated with the message event.

    label: string

    Label of the data channel.

    name:
        | "channel:new"
        | "channel:open"
        | "channel:close"
        | "channel:message"
        | "channel:error"

    Name of the event.