Updated working of invalid H264 check for live stream to match VoD wording.

This commit is contained in:
Thulinma 2013-12-17 11:22:46 +01:00
parent e3e76758b7
commit 1b84897e34

View file

@ -177,7 +177,7 @@ namespace Controller {
if (trIt->second.isMember("init")){
if (trIt->second["init"].asString().size() < 4){
Log("WARN", "Live stream "+jit->first+" does not contain H264 init data that MistServer can interpret.");
jit->second["error"] = "Invalid?";
jit->second["error"] = "Stream offline: Invalid?";
}else{
if (trIt->second["init"].asString().c_str()[1] != 0x42){
Log("WARN", "Live stream "+jit->first+" is not H264 Baseline - convert to baseline profile for best compatibility.");