getCapabilities method

[Some information relates to pre-released product which may be substantially modified before it's commercially released. Microsoft makes no warranties, express or implied, with respect to the information provided here.]

Obtain the sender capabilities, based on kind. If kind is omitted or is set to " ", then all capabilities are returned. Microsoft Edge does not support codecs such as retransmission [RFC4588], redundancy [RFC2198] or Forward Error Correction which do not have an associated value of kind (and therefore would always be returned).

Syntax

var retval = RTCRtpSender.getCapabilities(kind);

Parameters

  • kind [optional]
    Type: DOMString

    (nullable)

Standards information

See also

RTCRtpSender