diff --git a/src/components/HlsPlayer/index.vue b/src/components/HlsPlayer/index.vue index fb49f28..ecb578f 100644 --- a/src/components/HlsPlayer/index.vue +++ b/src/components/HlsPlayer/index.vue @@ -177,7 +177,7 @@ export default { } }) this.hls.on('play:failed', (err) => { - this.initializePlayer(); + // this.initializePlayer(); }) }else{ this.hls = new Hls({ diff --git a/src/layout/components/CoreVideo/allList.vue b/src/layout/components/CoreVideo/allList.vue index a04df88..b4a7b8e 100644 --- a/src/layout/components/CoreVideo/allList.vue +++ b/src/layout/components/CoreVideo/allList.vue @@ -139,7 +139,7 @@ } }) player.on('play:failed', (err) => { - createPlayer(cameraIndexCode,videoElement); + // createPlayer(cameraIndexCode,videoElement); }) webrtcRefs.push(player) } diff --git a/src/views/collect/components/video-box.vue b/src/views/collect/components/video-box.vue index 6a44e06..0d380f6 100644 --- a/src/views/collect/components/video-box.vue +++ b/src/views/collect/components/video-box.vue @@ -315,7 +315,7 @@ const createPlayer = (cameraIndexCode,videoElement) => { } }) player.on('play:failed', (err) => { - createPlayer(cameraIndexCode,videoElement); + // createPlayer(cameraIndexCode,videoElement); }) webrtcRefs.push(player) } diff --git a/src/views/hotel/components/video-box.vue b/src/views/hotel/components/video-box.vue index e1ce01a..4bb758a 100644 --- a/src/views/hotel/components/video-box.vue +++ b/src/views/hotel/components/video-box.vue @@ -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({ diff --git a/src/views/monitor/components/box-2.vue b/src/views/monitor/components/box-2.vue index 410a8d1..438541f 100644 --- a/src/views/monitor/components/box-2.vue +++ b/src/views/monitor/components/box-2.vue @@ -275,7 +275,7 @@ } }) player.on('play:failed', (err) => { - createPlayer(cameraIndexCode,videoElement); + // createPlayer(cameraIndexCode,videoElement); }) webrtcRefs.push(player) } @@ -422,7 +422,7 @@ } }) hlsRef.on('play:failed', (err) => { - handleItemVideo(url, type, code, item); + // handleItemVideo(url, type, code, item); }) } else { hlsRef = new Hls({