Small fix for hls router
This commit is contained in:
1 parent
b869275b2f
commit
8a88c281f4
3 files changed
+30
-5
No files matched your search
@@ -558,6 +558,16 @@ function ReportVideoError(errorData as object) as void
|
||||
data: lastGeneratedDash
|
||||
}]
|
||||
DeleteFile("tmp:/last_generated_dash.xml")
|
||||
else
|
||||
lastGeneratedHls = ReadAsciiFile("tmp:/last_generated_hls.m3u8")
|
||||
if not StringUtils.IsNullOrEmpty(lastGeneratedHls)
|
||||
attachments = [{
|
||||
filename: "last_generated_hls.m3u8"
|
||||
content_type: "plain/text"
|
||||
data: lastGeneratedHls
|
||||
}]
|
||||
DeleteFile("tmp:/last_generated_hls.m3u8")
|
||||
end if
|
||||
end if
|
||||
end if
|
||||
|
||||
|
||||
Reference in new issue
Block a user