Open woow-wu7 opened 4 years ago
Have you found the solution yet?
找到解决办法了吗
找到解决办法了吗?
都不记得当时怎么做的了,有很久都没有弄这方面的东西了
zhaolin8 notifications@github.com 于2020年12月7日周一 上午11:32写道:
找到解决办法了吗?
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/bilibili/flv.js/issues/530#issuecomment-739641961, or unsubscribe https://github.com/notifications/unsubscribe-auth/AGJM2ENJECNMMKDOOMT7GRLSTREFTANCNFSM4JZXQEDQ .
这个问题还没有解决方案吗
同问
我也遇到这个错了,发现是flv文件有问题
重新启动发现没这个问题了
原因可能是,flv.js最开始接收到的数据,没有flv数据的文件头。我是使用ffmpeg将rstp转换成flv然后利用websocket推送给flv.js,如果在创建一个flv.js直接利用前一个flv.js接收到的数据,是没有flv文件头的,会解析出错,必须再次创建一个新的ffmpeg转换器搭推送到flv.js。
调用栈: