Changed EBML and MP4 priorities
This commit is contained in:
parent
f65c759292
commit
3c67277d81
2 changed files with 2 additions and 2 deletions
|
@ -39,7 +39,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;
|
||||||
|
|
|
@ -22,7 +22,7 @@ namespace Mist {
|
||||||
capa["codecs"][0u][1u].append("MP3");
|
capa["codecs"][0u][1u].append("MP3");
|
||||||
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;
|
||||||
capa["methods"][0u]["nolive"] = 1;
|
capa["methods"][0u]["nolive"] = 1;
|
||||||
}
|
}
|
||||||
uint64_t OutProgressiveMP4::estimateFileSize() {
|
uint64_t OutProgressiveMP4::estimateFileSize() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue