Deal with 'Cannot convert to below minimum bandwidth of' error.
This commit is contained in:
parent
899a1b24f7
commit
9302bcc05d
@ -110,7 +110,12 @@ lang=en`
|
||||
}
|
||||
|
||||
isVideoDirectStream() {
|
||||
return this.decisionJson["MediaContainer"]["Metadata"][0]["Media"][0]["Part"][0]["Stream"][0]["decision"] == "copy";
|
||||
try {
|
||||
return this.decisionJson["MediaContainer"]["Metadata"][0]["Media"][0]["Part"][0]["Stream"][0]["decision"] == "copy";
|
||||
} catch (e) {
|
||||
console.log("Error at decision:" + e);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
getResolutionHeight() {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user