getCapabilities static method

RTCRtpCapabilities? getCapabilities(
  1. String kind
)

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

You can, similarly, obtain the capabilities of RTCRtpSender objects by calling the static function RTCRtpSender.getCapabilities_static.

Implementation

external static RTCRtpCapabilities? getCapabilities(String kind);