Changed EBML and MP4 priorities
This commit is contained in:
parent
266ab3a654
commit
3f341297a5
2 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ namespace Mist{
|
||||||
capa["codecs"][0u][1u].append("AC3");
|
capa["codecs"][0u][1u].append("AC3");
|
||||||
capa["methods"][0u]["handler"] = "http";
|
capa["methods"][0u]["handler"] = "http";
|
||||||
capa["methods"][0u]["type"] = "html5/video/webm";
|
capa["methods"][0u]["type"] = "html5/video/webm";
|
||||||
capa["methods"][0u]["priority"] = 8ll;
|
capa["methods"][0u]["priority"] = 11ll;
|
||||||
//EBML will only work with VP8/VP9/Opus except on Chrome
|
//EBML will only work with VP8/VP9/Opus except on Chrome
|
||||||
JSON::Value blacklistNonChrome = JSON::fromString("[[\"blacklist\"], [\"whitelist\",[\"Chrome\",\"Chromium\"]], [\"blacklist\",[\"Edge\",\"OPR/\"]]]");
|
JSON::Value blacklistNonChrome = JSON::fromString("[[\"blacklist\"], [\"whitelist\",[\"Chrome\",\"Chromium\"]], [\"blacklist\",[\"Edge\",\"OPR/\"]]]");
|
||||||
capa["exceptions"]["codec:H264"] = blacklistNonChrome;
|
capa["exceptions"]["codec:H264"] = blacklistNonChrome;
|
||||||
|
|
|
@ -25,7 +25,7 @@ namespace Mist{
|
||||||
capa["codecs"][0u][1u].append("AC3");
|
capa["codecs"][0u][1u].append("AC3");
|
||||||
capa["methods"][0u]["handler"] = "http";
|
capa["methods"][0u]["handler"] = "http";
|
||||||
capa["methods"][0u]["type"] = "html5/video/mp4";
|
capa["methods"][0u]["type"] = "html5/video/mp4";
|
||||||
capa["methods"][0u]["priority"] = 8ll;
|
capa["methods"][0u]["priority"] = 10ll;
|
||||||
//MP4 live is broken on Apple
|
//MP4 live is broken on Apple
|
||||||
capa["exceptions"]["live"] = JSON::fromString("[[\"blacklist\",[\"iPad\",\"iPhone\",\"iPod\",\"Safari\"]], [\"whitelist\",[\"Chrome\",\"Chromium\"]]]");
|
capa["exceptions"]["live"] = JSON::fromString("[[\"blacklist\",[\"iPad\",\"iPhone\",\"iPod\",\"Safari\"]], [\"whitelist\",[\"Chrome\",\"Chromium\"]]]");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue