Skip to content

Commit

Permalink
Adapt api.MediaDevices.ondevicechange to new events structure (#15165)
Browse files Browse the repository at this point in the history
This PR adapts the devicechange event of the MediaDevices API to conform to the new events structure.
  • Loading branch information
queengooborg authored Mar 14, 2022
1 parent f1ba209 commit 449cd70
Showing 1 changed file with 4 additions and 50 deletions.
54 changes: 4 additions & 50 deletions api/MediaDevices.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@
"__compat": {
"description": "<code>devicechange</code> event",
"mdn_url": "https://developer.mozilla.org/docs/Web/API/MediaDevices/devicechange_event",
"spec_url": "https://w3c.github.io/mediacapture-main/#event-mediadevices-devicechange",
"spec_url": [
"https://w3c.github.io/mediacapture-main/#event-mediadevices-devicechange",
"https://w3c.github.io/mediacapture-main/#dom-mediadevices-ondevicechange"
],
"support": {
"chrome": {
"version_added": "57"
Expand Down Expand Up @@ -452,55 +455,6 @@
}
}
},
"ondevicechange": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/MediaDevices/ondevicechange",
"spec_url": "https://w3c.github.io/mediacapture-main/#dom-mediadevices-ondevicechange",
"support": {
"chrome": {
"version_added": "57"
},
"chrome_android": {
"version_added": false
},
"edge": {
"version_added": "12"
},
"firefox": {
"version_added": "52"
},
"firefox_android": {
"version_added": "52"
},
"ie": {
"version_added": false
},
"opera": {
"version_added": "34"
},
"opera_android": {
"version_added": "34"
},
"safari": {
"version_added": "11"
},
"safari_ios": {
"version_added": "11"
},
"samsunginternet_android": {
"version_added": false
},
"webview_android": {
"version_added": false
}
},
"status": {
"experimental": false,
"standard_track": true,
"deprecated": false
}
}
},
"selectAudioOutput": {
"__compat": {
"mdn_url": "https://developer.mozilla.org/docs/Web/API/MediaDevices/selectAudioOutput",
Expand Down

0 comments on commit 449cd70

Please sign in to comment.