MediaStreamTrack.getCapabilities()

Returns the capabilities of the source associated to a MediaStreamTrack. There is also a variant InputDeviceInfo.getCapabilities(), available in the results of MediaDevices.enumerateDevices(). These devices are used as sources for MediaStreamTrack; in this case, getCapabilities() returns the same values as MediaStreamTrack.getCapabilities().

Documentation

Specification

Working draft or equivalent

Status in Chromium

Blink>GetUserMedia


Enabled by default (tracking bug) in:

  • Chrome for desktop release 66
  • Chrome for Android release 66

Consensus & Standardization

After a feature ships in Chrome, the values listed here are not guaranteed to be up to date.

  • In development
  • Shipped
  • Shipped
  • No signals

Owner

Last updated on 2019-04-24