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