HLS input can now be set to always on

This commit is contained in:
Thulinma 2017-06-07 15:02:50 +02:00
parent 38a0448a8e
commit 7bbec5323e

View file

@ -269,6 +269,9 @@ namespace Mist{
capa["decs"] = "Enables HLS Input"; capa["decs"] = "Enables HLS Input";
capa["source_match"].append("/*.m3u8"); capa["source_match"].append("/*.m3u8");
capa["source_match"].append("http://*.m3u8"); capa["source_match"].append("http://*.m3u8");
//These two can/may be set to always-on mode
capa["always_match"].append("/*.m3u8");
capa["always_match"].append("http://*.m3u8");
capa["priority"] = 9ll; capa["priority"] = 9ll;
capa["codecs"][0u][0u].append("H264"); capa["codecs"][0u][0u].append("H264");