feat 优化直播链路提示词
This commit is contained in:
@@ -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] 网络错误,自动恢复...');
|
||||
|
||||
Reference in New Issue
Block a user