live-pusher推流每隔几秒就返回 -1307错误
- 当前 Bug 的表现(可附上截图)
调用live-pusher进行推流,几秒钟后,如下图所示,视频窗口会变黑,返回-1307错误代码(含义:网络断连,且经三次抢救无效,可以放弃治疗,更多重试请自行重启推流),重启推流,恢复几秒钟后,问题依旧:


- 预期表现
正常情况下应该会持续正常推流,不会隔几秒钟就断开
- 复现路径
用于调试的代码就是官网https://developers.weixin.qq.com/miniprogram/dev/component/live-pusher.html提供的实例代码,使用的推流服务器就是默认的"https://domain/push_stream",如下图所示:

- 提供一个最简复现 Demo
用微信开发者工具编译上述代码在苹果手机上真机调试就可以复现上述现象
2 回复