diff --git a/src/utils/video.ts b/src/utils/video.ts index 3a79453..a07aafb 100644 --- a/src/utils/video.ts +++ b/src/utils/video.ts @@ -123,10 +123,7 @@ export const initHls = (monitorVideoUrl, monitorVideoRef, isDialogVisible?: () = case Hls.ErrorTypes.NETWORK_ERROR: if (data.details === 'manifestLoadError' || data.details === 'manifestLoadTimeOut') { //console.error('网络错误'); - ElMessage.error('网络错误,请检查网络连接, 并点击刷新'); - // if (onStall) { - // onStall(); - // } + ElMessage.error('[HLS]网络错误,尝试恢复...'); onStall(); } else { ElMessage.error('[HLS] 网络错误,自动恢复...');