[skip ci] skip reporting drm errors
This commit is contained in:
1 parent
3227bf38b4
commit
85b5c615b9
1 file changed
+4
@@ -557,6 +557,10 @@ function GetPlayerErrorData(videoId as string, errorInfo as object) as object
|
||||
end function
|
||||
|
||||
function ReportVideoError(errorData as object, url as string) as void
|
||||
if errorData.body.Instr("DRM exception") <> -1
|
||||
return
|
||||
end if
|
||||
|
||||
attachments = invalid
|
||||
if errorData.body.Instr("malformed data") <> -1 or errorData.body.Instr("invalid pathname") <> -1
|
||||
lastGeneratedDash = ReadAsciiFile("tmp:/last_generated_dash.xml")
|
||||
|
||||
Reference in new issue
Block a user