类型:开发

描述:
This commit is contained in:
2026-02-03 23:50:29 +08:00
parent bc827e1cc8
commit e21e9999c7
5 changed files with 7 additions and 7 deletions

View File

@@ -357,7 +357,7 @@ const createPlayer = (cameraIndexCode,videoElement) => {
}
})
player.on('play:failed', (err) => {
createPlayer(cameraIndexCode,videoElement);
// createPlayer(cameraIndexCode,videoElement);
})
webrtcRefs.push(player)
}
@@ -453,7 +453,7 @@ const handleItemVideo = async (url, type, code, item) => {
}
})
hlsRef.on('play:failed', (err) => {
handleItemVideo(url, type, code, item);
// handleItemVideo(url, type, code, item);
})
} else {
hlsRef = new Hls({