For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.
Variable RTCRtpReceiver
RTCRtpReceiver: {
prototype: RTCRtpReceiver;
getCapabilities(kind: string): RTCRtpCapabilities | null;
new (): RTCRtpReceiver;
}
prototype: RTCRtpReceiver;
getCapabilities(kind: string): RTCRtpCapabilities | null;
new (): RTCRtpReceiver;
}
Type Declaration
-
- new (): RTCRtpReceiver
-
Returns RTCRtpReceiver
-
prototype: RTCRtpReceiver
-
getCapabilities: function
-
Parameters
- kind: string
Returns RTCRtpCapabilities | null
-
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