Commit a65f438
committed
Media: Disable client-side processing on non-secure origins
SharedArrayBuffer is unavailable on non-HTTPS, non-localhost
origins, so cross-origin isolation headers have no effect.
Default the feature to disabled in those contexts to avoid
unnecessary console warnings.1 parent 12e10a9 commit a65f438
1 file changed
Lines changed: 4 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6371 | 6371 | | |
6372 | 6372 | | |
6373 | 6373 | | |
| 6374 | + | |
| 6375 | + | |
6374 | 6376 | | |
6375 | 6377 | | |
6376 | 6378 | | |
6377 | 6379 | | |
6378 | 6380 | | |
6379 | | - | |
| 6381 | + | |
6380 | 6382 | | |
6381 | | - | |
| 6383 | + | |
6382 | 6384 | | |
6383 | 6385 | | |
6384 | 6386 | | |
| |||
0 commit comments