Skip to main content

RTCRtpReceiver-1

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

Type Declaration

Returns

RTCRtpReceiver

prototype

prototype: RTCRtpReceiver;

getCapabilities()

getCapabilities(kind): 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

Parameters

ParameterType
kindstring

Returns

RTCRtpCapabilities | null