fix: 屏蔽直播不正确的提示

This commit is contained in:
orz12
2024-09-08 19:15:07 +08:00
committed by bggRGjQaUbCoE
parent e4319dae2f
commit 75d30398ef

View File

@@ -750,6 +750,8 @@ class PlPlayerController {
// SmartDialog.showToast('视频加载日志: $event');
// }),
videoPlayerController!.stream.error.listen((String event) {
// 直播的错误提示没有参考价值,均不予显示
if (videoType.value == 'live') return;
if (event.startsWith("Failed to open https://") ||
event.startsWith("Can not open external file https://") ||
//tcp: ffurl_read returned 0xdfb9b0bb