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 and getCapabilities() in this case 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
  • Opera release 53
  • Opera for Android release 53

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-02-06