RTCRtpReceiver-1
RTCRtpReceiver: {
(): RTCRtpReceiver;
prototype: RTCRtpReceiver;
getCapabilities: RTCRtpCapabilities | null;
};
Type Declaration
Returns
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.
Parameters
| Parameter | Type |
|---|---|
kind | string |
Returns
RTCRtpCapabilities | null