{
  "meta": {
    "canonicalUrl": "https://timetostable.com/feature/api.MediaDevices.getDisplayMedia",
    "bcdVersion": "8.1.11",
    "webFeaturesVersion": "3.48.0"
  },
  "kind": "bcd",
  "bcdFeature": {
    "id": "api.MediaDevices.getDisplayMedia",
    "cat": "api",
    "mdn": "API/MediaDevices/getDisplayMedia",
    "spec": "https://w3c.github.io/mediacapture-screen-share/#dom-mediadevices-getdisplaymedia",
    "st": 1,
    "wf": "screen-capture",
    "bl": false,
    "s": {
      "chrome": {
        "v": "72",
        "d": 17925
      },
      "firefox": {
        "v": "66",
        "d": 17974
      },
      "safari": {
        "v": "13",
        "d": 18158
      },
      "edge": {
        "v": "79",
        "d": 18276
      },
      "safari_ios": {
        "v": "27",
        "d": 20710
      },
      "webview_ios": {
        "v": "27",
        "d": 20710
      },
      "opera": {
        "v": "60",
        "d": 17995
      }
    },
    "notes": [
      {
        "t": "Since Firefox 33 you can capture screen data using <a href=\"https://developer.mozilla.org/docs/Web/API/MediaDevices/getUserMedia\"><code>getUserMedia()</code></a>, with a <code>video</code> constraint called <code>mediaSource</code>. Before 52 it relied on a client-configurable list of allowed sites.",
        "b": [
          "firefox"
        ]
      },
      {
        "t": "Available as a member of <code>Navigator</code> instead of <code>MediaDevices</code>.",
        "b": [
          "edge"
        ]
      },
      {
        "t": "From Chrome Android 72 to 88, this method was exposed, but always failed with <code>NotAllowedError</code>. See <a href=\"https://crbug.com/40418135\">bug 40418135</a>.",
        "b": [
          "chrome_android"
        ]
      },
      {
        "t": "From Firefox Android 66 to 79, this method was exposed, but always failed with <code>NotAllowedError</code>.",
        "b": [
          "firefox_android"
        ]
      },
      {
        "t": "From WebView Android 72 to 88, this method was exposed, but always failed with <code>NotAllowedError</code>. See <a href=\"https://crbug.com/40418135\">bug 40418135</a>.",
        "b": [
          "webview_android"
        ]
      },
      {
        "t": "From Samsung Browser 11.0 to 88, this method was exposed, but always failed with <code>NotAllowedError</code>. See <a href=\"https://crbug.com/40418135\">bug 40418135</a>.",
        "b": [
          "samsunginternet_android"
        ]
      },
      {
        "t": "From Opera Android 51 to 88, this method was exposed, but always failed with <code>NotAllowedError</code>. See <a href=\"https://crbug.com/40418135\">bug 40418135</a>.",
        "b": [
          "opera_android"
        ]
      },
      {
        "t": "From Quest Browser 6.0 to 88, this method was exposed, but always failed with <code>NotAllowedError</code>. See <a href=\"https://crbug.com/40418135\">bug 40418135</a>.",
        "b": [
          "oculus"
        ]
      }
    ]
  },
  "webFeature": {
    "id": "screen-capture",
    "name": "Screen capture",
    "description": "The navigator.mediaDevices.getDisplayMedia() method asks the user to choose a screen or portion of a screen (such as a window) to capture as a media stream.",
    "group": "other",
    "groupName": "other",
    "spec": "https://w3c.github.io/mediacapture-screen-share/",
    "baseline": false,
    "compatCount": 15,
    "cats": [
      "api",
      "html",
      "http"
    ],
    "compatKeysSample": [
      "api.CaptureController",
      "api.CaptureController.CaptureController",
      "api.CaptureController.setFocusBehavior",
      "api.MediaDevices.getDisplayMedia",
      "api.MediaDevices.getDisplayMedia.audio_capture_support",
      "api.MediaDevices.getDisplayMedia.controller_option",
      "api.MediaDevices.getDisplayMedia.monitorTypeSurfaces_option",
      "api.MediaDevices.getDisplayMedia.selfBrowserSurface_option",
      "api.MediaDevices.getDisplayMedia.surfaceSwitching_option",
      "api.MediaDevices.getDisplayMedia.systemAudio_option",
      "api.MediaStreamTrack.applyConstraints.displaySurface_constraint",
      "api.MediaStreamTrack.applyConstraints.logicalSurface_constraint",
      "api.MediaStreamTrack.applyConstraints.suppressLocalAudioPlayback_constraint",
      "html.elements.iframe.allow.display-capture",
      "http.headers.Permissions-Policy.display-capture"
    ],
    "s": {
      "chrome": {
        "v": "72",
        "d": 17925
      },
      "edge": {
        "v": "79",
        "d": 18276
      },
      "firefox": {
        "v": "33",
        "d": 16357
      },
      "safari": {
        "v": "13",
        "d": 18158
      },
      "safari_ios": {
        "v": "27",
        "d": 20710
      }
    }
  }
}