Documentation
    Preparing search index...

    Interface MockWebrtcSessionRecord

    One session record.

    const record = service.mock.state().sessions.get('sess-0123abcd');
    record?.session.state;
    interface MockWebrtcSessionRecord {
        identity: string;
        loopback: boolean;
        partners: Set<string>;
        peers: Set<string>;
        session: WebrtcSession;
        timers: Set<() => void>;
        windowId: string;
    }
    Index

    Properties

    identity: string

    Owner's pubkey.

    loopback: boolean

    Whether the loopback peer answered.

    partners: Set<string>

    Session ids of paired windows.

    peers: Set<string>

    Joined peer pubkeys.

    session: WebrtcSession

    Wire session.

    timers: Set<() => void>

    Pending scheduler cancels.

    windowId: string

    Owning window.