From 388e19518e5cacbd23e29def5a611e73c359070a Mon Sep 17 00:00:00 2001 From: Chris Mills Date: Wed, 27 Nov 2024 10:08:35 +0000 Subject: [PATCH] Chrome 132 supports Element Capture API (#25232) --- api/BrowserCaptureMediaStreamTrack.json | 36 ++++++++++++ api/RestrictionTarget.json | 77 +++++++++++++++++++++++++ 2 files changed, 113 insertions(+) create mode 100644 api/RestrictionTarget.json diff --git a/api/BrowserCaptureMediaStreamTrack.json b/api/BrowserCaptureMediaStreamTrack.json index 83812da73ac805..67f66e70d24cf5 100644 --- a/api/BrowserCaptureMediaStreamTrack.json +++ b/api/BrowserCaptureMediaStreamTrack.json @@ -106,6 +106,42 @@ "deprecated": false } } + }, + "restrictTo": { + "__compat": { + "spec_url": "https://screen-share.github.io/element-capture/#dom-browsercapturemediastreamtrack-restrictto", + "support": { + "chrome": { + "version_added": "132" + }, + "chrome_android": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": false + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror", + "webview_ios": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } } } } diff --git a/api/RestrictionTarget.json b/api/RestrictionTarget.json new file mode 100644 index 00000000000000..21b1017bb8bd71 --- /dev/null +++ b/api/RestrictionTarget.json @@ -0,0 +1,77 @@ +{ + "api": { + "RestrictionTarget": { + "__compat": { + "spec_url": "https://screen-share.github.io/element-capture/#dom-restrictiontarget", + "support": { + "chrome": { + "version_added": "132" + }, + "chrome_android": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": false + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror", + "webview_ios": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + }, + "fromElement_static": { + "__compat": { + "description": "`fromElement()` static method", + "spec_url": "https://screen-share.github.io/element-capture/#dom-restrictiontarget-fromelement", + "support": { + "chrome": { + "version_added": "132" + }, + "chrome_android": { + "version_added": false + }, + "edge": "mirror", + "firefox": { + "version_added": false + }, + "firefox_android": "mirror", + "ie": { + "version_added": false + }, + "oculus": "mirror", + "opera": "mirror", + "opera_android": "mirror", + "safari": { + "version_added": false + }, + "safari_ios": "mirror", + "samsunginternet_android": "mirror", + "webview_android": "mirror", + "webview_ios": "mirror" + }, + "status": { + "experimental": true, + "standard_track": true, + "deprecated": false + } + } + } + } + } +}