Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions feature-group-definitions/media-capture.dist.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Generated from: media-capture.yml
# Do not edit this file by hand. Edit the source file instead!

name: Media capture
description: The `navigator.mediaDevices.getUserMedia()` API requests access to devices that produce audio or video streams, such as microphones or video cameras.
spec: https://w3c.github.io/mediacapture-main/
caniuse: stream
# Override is needed to fix the Edge version:
# https://github.com/mdn/browser-compat-data/pull/22913
#
# Firefox support for `enumerateDevices()` also needs an override since lack of
# output device (a separate feature) is treated as partial implementation in
# BCD.
status:
baseline: high
baseline_low_date: 2017-09-19
baseline_high_date: 2020-03-19
support:
chrome: "53"
chrome_android: "53"
edge: "12"
firefox: "39"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The Chrome, Edge and Safari versions in https://caniuse.com/stream match here, but Firefox doesn't, caniuse says 36. That comes down to me including enumerateDevices() in this feature, which I think is reasonable, since enumerateDevices() on its own doesn't amount to much, it's in support of either media capture or audio device output.

firefox_android: "39"
safari: "11"
safari_ios: "11"
# This is a reasonable but incomplete subset of basic media capture, but
# there is a lot more that has been added over time, and possibly additional
# pieces that should be considered part of the initial feature.
compat_features:
- api.MediaDeviceInfo
- api.MediaDeviceInfo.deviceId
- api.MediaDeviceInfo.groupId
- api.MediaDeviceInfo.kind
- api.MediaDeviceInfo.label
- api.MediaDevices
- api.MediaDevices.enumerateDevices
- api.MediaDevices.getUserMedia
- api.MediaStream.getAudioTracks
- api.MediaStream.getTracks
- api.MediaStream.getVideoTracks
- api.MediaStreamTrack
- api.MediaStreamTrack.enabled
- api.MediaStreamTrack.id
- api.MediaStreamTrack.kind
- api.MediaStreamTrack.label
- api.MediaStreamTrack.stop
42 changes: 42 additions & 0 deletions feature-group-definitions/media-capture.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
name: Media capture
description: The `navigator.mediaDevices.getUserMedia()` API requests access to devices that produce audio or video streams, such as microphones or video cameras.
spec: https://w3c.github.io/mediacapture-main/
caniuse: stream
# Override is needed to fix the Edge version:
# https://github.com/mdn/browser-compat-data/pull/22913
#
# Firefox support for `enumerateDevices()` also needs an override since lack of
# output device (a separate feature) is treated as partial implementation in
# BCD.
status:
baseline: high
baseline_low_date: 2017-09-19
support:
chrome: "53"
chrome_android: "53"
edge: "12"
firefox: "39"
firefox_android: "39"
safari: "11"
safari_ios: "11"
# This is a reasonable but incomplete subset of basic media capture, but
# there is a lot more that has been added over time, and possibly additional
# pieces that should be considered part of the initial feature.
compat_features:
- api.MediaDeviceInfo
- api.MediaDeviceInfo.deviceId
- api.MediaDeviceInfo.groupId
- api.MediaDeviceInfo.kind
- api.MediaDeviceInfo.label
- api.MediaDevices
- api.MediaDevices.enumerateDevices
- api.MediaDevices.getUserMedia
- api.MediaStream.getAudioTracks
- api.MediaStream.getTracks
- api.MediaStream.getVideoTracks
- api.MediaStreamTrack
- api.MediaStreamTrack.enabled
- api.MediaStreamTrack.id
- api.MediaStreamTrack.kind
- api.MediaStreamTrack.label
- api.MediaStreamTrack.stop