getCapabilities static method

RTCRtpCapabilities? getCapabilities(
  1. String kind
)

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

You can, similarly, obtain the capabilities of RTCRtpReceiver objects on the device by calling the static function RTCRtpReceiver.getCapabilities_static.

Implementation

external static RTCRtpCapabilities? getCapabilities(String kind);