mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-06 09:13:48 +08:00
fix: 屏蔽直播不正确的提示
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user