An RTC connection is a single connection. This base class defines the raw connection management and tracking logic for a generic connection. The MockRTCConnection subclass extends this and adds logic to support control channels, proxying and other MockRTC-specific additions.

Hierarchy (view full)

Constructors

Properties

id: `${string}-${string}-${string}-${string}-${string}` = ...
sessionApi: MockRTCSession = ...

Accessors

Methods

  • Returns undefined | {
        local: {
            protocol: string;
            type: RTCIceCandidateType;
        };
        remote: {
            protocol: string;
            type: RTCIceCandidateType;
        };
    }