类型:开发
描述:
This commit is contained in:
@@ -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({
|
||||
|
||||
Reference in New Issue
Block a user