Skip to main content

RTCRtpSender-1

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

Type Declaration

Returns

RTCRtpSender

prototype

prototype: RTCRtpSender;

getCapabilities()

getCapabilities(kind): RTCRtpCapabilities | null;

The static method RTCRtpSender.getCapabilities() returns an object describing the codec and header extension capabilities supported by the RTCRtpSender.

MDN Reference

Parameters

ParameterType
kindstring

Returns

RTCRtpCapabilities | null