← Back to release summary

RTCRtpSender / RTCRtpReceiver.getCapabilities()

Category
JavaScript
Type
New or changed feature
Status
Enabled by default (Chrome 69)
Intent stage
None

Summary

The getCapabilities() method returns the most optimistic view of the capabilities of the system for sending media of the given kind. It does not reserve any resources, ports, or other state but is meant to provide a way to discover the types of capabilities of the browser including which codecs or RTP extensions may be supported.

Standards & signals

Docs: RTCRtpSender.getCapabilities(): https://w3c.github.io/webrtc-pc/#dom-rtcrtpsender-getcapabilities RTCRtpReceiver.getCapabilities(): https://w3c.github.io/webrtc-pc/#dom-rtcrtpreceiver-getcapabilities

View on chromestatus.com