Small tweak
This commit is contained in:
1 parent
4363c068d6
commit
daf7966f4b
2 files changed
+5
-2
No files matched your search
@@ -462,6 +462,10 @@ function OnVideoPlayerStateChange() as void
|
||||
nextUrl = playletStreamUrls[playletStreamUrlIndex]
|
||||
LogError(`Stream ${currentUrl} failed to play. Trying next stream ${nextUrl}`)
|
||||
|
||||
if StringUtils.IsNullOrEmpty(nextUrl)
|
||||
LogError("Next stream URL is empty, cannot try next stream")
|
||||
end if
|
||||
|
||||
content.url = nextUrl
|
||||
|
||||
SeekToInitialPosition(content)
|
||||
|
||||
Reference in new issue
Block a user