Open wengxianxun opened 3 months ago
我看了源码, http://192.168.31.11:1714 是上次缓存的,但是恒性播放器已经变了接口,其实这个时候已经不能用了,如何把无用的设备删除掉。
确实没有删除的这个逻辑, 后面我看如何处理一下
确实没有删除的这个逻辑, 后面我看如何处理一下
如何判断这个旧的设备信息是无效的,源码里面没找到这种判断函数
I/flutter (19704): SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = 192.168.31.11, port = 38162 I/flutter (19704): SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = 192.168.31.11, port = 53914 I/flutter (19704): SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = 192.168.31.11, port = 53928 I/flutter (19704): SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = 192.168.31.11, port = 53934 I/flutter (19704): SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = 192.168.31.11, port = 41548 I/flutter (19704): SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = 192.168.31.11, port = 41554 I/flutter (19704): SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = 192.168.31.11, port = 41564 I/flutter (19704): SocketException: Connection refused (OS Error: Connection refused, errno = 111), address = 192.168.31.11, port = 41576
关闭播放界面后会一直报这个错误。
我用的是mac上的 恒星播放器 ,当我投屏播放一个视频后,关闭播放界面,这个时候恒星播放器还在,但是接口变了, flutter端的listen会返回两条ip