RTCRtpReceiver: {
    prototype: RTCRtpReceiver;
    getCapabilities(kind: string): RTCRtpCapabilities | null;
    new (): RTCRtpReceiver;
}

Type Declaration

  • prototype: RTCRtpReceiver
  • getCapabilities: function
    • The static method RTCRtpReceiver.getCapabilities() returns an object describing the codec and header extension capabilities supported by RTCRtpReceiver objects on the current device.

      MDN Reference

      Parameters

      • kind: string

      Returns RTCRtpCapabilities | null