Small fix for hls router

This commit is contained in:
Brahim Hadriche committed 2025-09-06 11:16:32 -04:00
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