add debugging for video errors

This commit is contained in:
Charles Ewert 2024-09-28 17:08:39 -04:00
parent b6a65e63ef
commit 4fd7d42039

View File

@ -624,6 +624,10 @@ sub onState(msg)
ReportPlayback("start")
end if
else if m.top.state = "error"
m.log.error(m.top.errorCode, m.top.errorMsg, m.top.errorStr, m.top.errorCode)
print m.top.errorInfo
if not m.playReported and m.top.transcodeAvailable
m.top.retryWithTranscoding = true ' If playback was not reported, retry with transcoding
else