edge does not support h264 high10 directstream

This commit is contained in:
Nyanmisaka 2020-01-24 03:26:30 +08:00 committed by GitHub
parent ae325bd747
commit 50b96b0afb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -180,6 +180,10 @@ define(['browser'], function (browser) {
return true;
}
if (browser.edgeUwp) {
return true;
}
return false;
}
@ -786,7 +790,7 @@ define(['browser'], function (browser) {
videoTestElement.canPlayType('video/mp4; codecs="avc1.6e0033"').replace(/no/, '')) {
// These tests are passing in safari, but playback is failing
if (!browser.safari && !browser.iOS && !browser.web0s) {
if (!browser.safari && !browser.iOS && !browser.web0s && !browser.edge) {
h264Profiles += '|high 10';
}
}