feat 优化直播链路提示词

This commit is contained in:
Ironsp
2026-07-22 14:38:40 +08:00
parent 747e7000cd
commit 8768ec3729

View File

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