Nocturna
    Preparing search index...

    RTCSignaling defines the interface for signaling operations required for WebRTC peer connection setup. Implementations must handle sending offers, answers, ICE candidates, and data channel events.

    interface RTCSignaling {
        onDataChannelClosed(remoteId: string): void;
        onDataChannelOpened(remoteId: string): void;
        sendAnswer(remoteId: string, answer: RTCSessionDescriptionInit): void;
        sendICECandidate(remoteId: string, candidate: RTCIceCandidateInit): void;
        sendOffer(remoteId: string, offer: RTCSessionDescriptionInit): void;
    }

    Implemented by

    Index

    Methods

    • Parameters

      • remoteId: string
      • answer: RTCSessionDescriptionInit

      Returns void

    • Parameters

      • remoteId: string
      • candidate: RTCIceCandidateInit

      Returns void

    • Parameters

      • remoteId: string
      • offer: RTCSessionDescriptionInit

      Returns void