Chimeejs / chimee

a video player framework aims to bring wonderful experience on browser
http://chimee.pyzy.net/
MIT License
2.39k stars 201 forks source link

支持websocket协议的flv流吗 #86

Closed PanHywel closed 6 years ago

PanHywel commented 6 years ago

支持websocket协议的flv流吗~

toxic-johann commented 6 years ago

支持的

PanHywel commented 6 years ago

@toxic-johann 使用你的demo中的flv部分,播放websocket协议的flv流,一直显示加载中,我确定一直在发流, 请问我的s设置有问题吗? image

toxic-johann commented 6 years ago

@songguangyu 具体看看吧

songguangyu commented 6 years ago

@Panhaiwei 流地址方便提供给我一下吗?我看一下

PanHywel commented 6 years ago

@songguangyu 流是本地服务器.. 使用谷歌开发者工具中的network可以抓到websocket一直再推送数据,同时我使用bilibili 的flv.js 是可以正常播放的, image image

songguangyu commented 6 years ago

有报错信息吗?

PanHywel commented 6 years ago

@songguangyu 没有报错,一直在发heartbeat,我去找找有没有线上的ws流

songguangyu commented 6 years ago

@Panhaiwei 好的

songguangyu commented 6 years ago

@Panhaiwei 你本地是怎么搭的 如果方便是开源的 我也搭建一个

PanHywel commented 6 years ago

@songguangyu 不好意思现在才回复你,我这边的流媒体服务器暂时没办法搭建到其他地方,我会找时间再次测一下,看看能否找到什么问题 谢谢

songguangyu commented 6 years ago

@Panhaiwei chimee-kernel-flv@1.4.9 麻烦请更新到最新版本 修复了websocket 的bug

PanHywel commented 6 years ago

@songguangyu 我git clone了最新的chimee-kernel-flv版本,并且使用了你的chimee-kernel-flv中的demo进行测试,还是无画面,看起来像是并没有抓到流,可是我使用谷歌开发者工具抓取websocket的包还是有数据流一直在发送..

PanHywel commented 6 years ago

@songguangyu 监听事件中,并没有触发mediaInfo和error, image

songguangyu commented 6 years ago

@Panhaiwei 稍等 我在更新一版

songguangyu commented 6 years ago

@Panhaiwei 麻烦重新clone 一下 或者 npm 更新chimee-kernel-flv@1.4.10

PanHywel commented 6 years ago

@songguangyu ok,该版本测试通过,正常出画面了

songguangyu commented 6 years ago

@Panhaiwei 好的 谢谢 有问题可以在反馈给我们