Type alias PeerSignal

PeerSignal: {
    sdp?: string;
    type: Exclude<RTCSdpType, "rollback">;
} | {
    candidate: RTCIceCandidateInit;
    type: "candidate";
} | {
    id: string;
    name: string;
    type: "stream";
} | {
    type: "close";
}

Type declaration

  • Optional sdp?: string
  • type: Exclude<RTCSdpType, "rollback">

Type declaration

  • candidate: RTCIceCandidateInit
  • type: "candidate"

Type declaration

  • id: string
  • name: string
  • type: "stream"

Type declaration

  • type: "close"

Generated using TypeDoc