Skip to content

Commit

Permalink
Sort out AudioTrack and VideoTrack support in Chromium
Browse files Browse the repository at this point in the history
Most of the IDL was added in June 2014 behind a flag:
https://chromium.googlesource.com/chromium/src/+/cb9c513a764a62acd2da76e04c3e7ec3ab7e0dfa

That was M37 based on the date: https://www.chromium.org/developers/calendar

Note that https://storage.googleapis.com/chromium-find-releases-static/cb9.html#cb9c513a764a62acd2da76e04c3e7ec3ab7e0dfa
is wrong because this change happened before Blink was merged into
the Chromium tree.

The AudioVideoTracks has never been enabled by default.

The audioTrack and videoTrack attributes on SourceBuffer were added
later, in March 2016, behind the same flag:
https://chromium.googlesource.com/chromium/src/+/92333c0e5ca6b7768e5bcf6d41ff8fc733ebbfc1

That was M51: https://storage.googleapis.com/chromium-find-releases-static/923.html#92333c0e5ca6b7768e5bcf6d41ff8fc733ebbfc1

The data was mirrored for Edge and Opera. Samsung Internet and WebView
don't use flags.

Fixes #5781.
  • Loading branch information
foolip committed Sep 8, 2020
1 parent e2e4af5 commit 924db00
Show file tree
Hide file tree
Showing 6 changed files with 371 additions and 283 deletions.
118 changes: 39 additions & 79 deletions api/AudioTrack.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AudioTrack",
"support": {
"chrome": {
"version_added": "45",
"version_added": "37",
"flags": [
{
"type": "preference",
Expand All @@ -15,7 +15,7 @@
]
},
"chrome_android": {
"version_added": "45",
"version_added": "37",
"flags": [
{
"type": "preference",
Expand Down Expand Up @@ -64,7 +64,7 @@
"version_added": "10"
},
"opera": {
"version_added": "32",
"version_added": "24",
"flags": [
{
"type": "preference",
Expand All @@ -74,7 +74,7 @@
]
},
"opera_android": {
"version_added": "32",
"version_added": "24",
"flags": [
{
"type": "preference",
Expand All @@ -93,7 +93,7 @@
"version_added": false
},
"webview_android": {
"version_added": "45"
"version_added": false
}
},
"status": {
Expand All @@ -107,7 +107,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AudioTrack/enabled",
"support": {
"chrome": {
"version_added": "45",
"version_added": "37",
"flags": [
{
"type": "preference",
Expand All @@ -117,7 +117,7 @@
]
},
"chrome_android": {
"version_added": "45",
"version_added": "37",
"flags": [
{
"type": "preference",
Expand Down Expand Up @@ -166,7 +166,7 @@
"version_added": "10"
},
"opera": {
"version_added": "32",
"version_added": "24",
"flags": [
{
"type": "preference",
Expand All @@ -176,7 +176,7 @@
]
},
"opera_android": {
"version_added": "32",
"version_added": "24",
"flags": [
{
"type": "preference",
Expand All @@ -195,7 +195,7 @@
"version_added": false
},
"webview_android": {
"version_added": "45"
"version_added": false
}
},
"status": {
Expand All @@ -210,7 +210,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AudioTrack/id",
"support": {
"chrome": {
"version_added": "45",
"version_added": "37",
"flags": [
{
"type": "preference",
Expand All @@ -220,7 +220,7 @@
]
},
"chrome_android": {
"version_added": "45",
"version_added": "37",
"flags": [
{
"type": "preference",
Expand Down Expand Up @@ -269,7 +269,7 @@
"version_added": "10"
},
"opera": {
"version_added": "32",
"version_added": "24",
"flags": [
{
"type": "preference",
Expand All @@ -279,7 +279,7 @@
]
},
"opera_android": {
"version_added": "32",
"version_added": "24",
"flags": [
{
"type": "preference",
Expand All @@ -298,7 +298,7 @@
"version_added": false
},
"webview_android": {
"version_added": "45"
"version_added": false
}
},
"status": {
Expand All @@ -313,7 +313,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AudioTrack/kind",
"support": {
"chrome": {
"version_added": "45",
"version_added": "37",
"flags": [
{
"type": "preference",
Expand All @@ -323,7 +323,7 @@
]
},
"chrome_android": {
"version_added": "45",
"version_added": "37",
"flags": [
{
"type": "preference",
Expand Down Expand Up @@ -372,7 +372,7 @@
"version_added": "10"
},
"opera": {
"version_added": "32",
"version_added": "24",
"flags": [
{
"type": "preference",
Expand All @@ -382,7 +382,7 @@
]
},
"opera_android": {
"version_added": "32",
"version_added": "24",
"flags": [
{
"type": "preference",
Expand All @@ -401,7 +401,7 @@
"version_added": false
},
"webview_android": {
"version_added": "45"
"version_added": false
}
},
"status": {
Expand All @@ -416,7 +416,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AudioTrack/label",
"support": {
"chrome": {
"version_added": "45",
"version_added": "37",
"flags": [
{
"type": "preference",
Expand All @@ -426,7 +426,7 @@
]
},
"chrome_android": {
"version_added": "45",
"version_added": "37",
"flags": [
{
"type": "preference",
Expand Down Expand Up @@ -475,7 +475,7 @@
"version_added": "10"
},
"opera": {
"version_added": "32",
"version_added": "24",
"flags": [
{
"type": "preference",
Expand All @@ -485,7 +485,7 @@
]
},
"opera_android": {
"version_added": "32",
"version_added": "24",
"flags": [
{
"type": "preference",
Expand All @@ -504,7 +504,7 @@
"version_added": false
},
"webview_android": {
"version_added": "45"
"version_added": false
}
},
"status": {
Expand All @@ -519,7 +519,7 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AudioTrack/language",
"support": {
"chrome": {
"version_added": "45",
"version_added": "37",
"flags": [
{
"type": "preference",
Expand All @@ -529,7 +529,7 @@
]
},
"chrome_android": {
"version_added": "45",
"version_added": "37",
"flags": [
{
"type": "preference",
Expand Down Expand Up @@ -578,7 +578,7 @@
"version_added": "10"
},
"opera": {
"version_added": "32",
"version_added": "24",
"flags": [
{
"type": "preference",
Expand All @@ -588,7 +588,7 @@
]
},
"opera_android": {
"version_added": "32",
"version_added": "24",
"flags": [
{
"type": "preference",
Expand All @@ -607,7 +607,7 @@
"version_added": false
},
"webview_android": {
"version_added": "45"
"version_added": false
}
},
"status": {
Expand All @@ -622,41 +622,15 @@
"mdn_url": "https://developer.mozilla.org/docs/Web/API/AudioTrack/sourceBuffer",
"support": {
"chrome": {
"version_added": "45",
"flags": [
{
"type": "preference",
"name": "enable-experimental-web-platform-features",
"value_to_set": "enabled"
}
]
"version_added": false
},
"chrome_android": {
"version_added": "45",
"flags": [
{
"type": "preference",
"name": "enable-experimental-web-platform-features",
"value_to_set": "enabled"
}
]
"version_added": false
},
"edge": {
"version_added": "12",
"version_removed": "79"
},
"edge": [
{
"version_added": "79",
"flags": [
{
"type": "preference",
"name": "enable-experimental-web-platform-features",
"value_to_set": "enabled"
}
]
},
{
"version_added": "12",
"version_removed": "79"
}
],
"firefox": {
"version_added": false
},
Expand All @@ -667,24 +641,10 @@
"version_added": "10"
},
"opera": {
"version_added": "32",
"flags": [
{
"type": "preference",
"name": "enable-experimental-web-platform-features",
"value_to_set": "enabled"
}
]
"version_added": false
},
"opera_android": {
"version_added": "32",
"flags": [
{
"type": "preference",
"name": "enable-experimental-web-platform-features",
"value_to_set": "enabled"
}
]
"version_added": false
},
"safari": {
"version_added": "6.1"
Expand All @@ -696,7 +656,7 @@
"version_added": false
},
"webview_android": {
"version_added": "45"
"version_added": false
}
},
"status": {
Expand Down
Loading

0 comments on commit 924db00

Please sign in to comment.