如何在flowplayer中播放rtmp url直播
使用此代码..第一次是播放 rtmp 直播流。但现在,仅加载此播放器。无法播放
flowplayer("player", "http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf", { clip: { url: 'livestream', provider: 'rtmp', live: true }, plugins: { // RTMP streaming plugin rtmp: { url: 'flowplayer.rtmp-3.2.3.swf', netConnectionUrl: 'rtmp://domain.com/hiox' } } });
请帮助我
Use this code..first time it is play rtmp live streaimg.but now,This Player is loaded only.No play
flowplayer("player", "http://releases.flowplayer.org/swf/flowplayer-3.2.7.swf", { clip: { url: 'livestream', provider: 'rtmp', live: true }, plugins: { // RTMP streaming plugin rtmp: { url: 'flowplayer.rtmp-3.2.3.swf', netConnectionUrl: 'rtmp://domain.com/hiox' } } });
Please help me
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
我认为你的 URL 是错误的,请检查你的流媒体服务器,在我的例子中它是 red5。
现在android和ios不支持flash。因此请改用 HLS 或 Dash。
I think your URL is wrong as well as check out your streaming server, In my case it is red5.
Nowadays android and ios not supporting flash. So use HLS or Dash instead.
我遇到了同样的问题,根据 Edgecast 文档,您应该使用 subscribe 参数:
编辑:修复了拼写错误。
I had the same issue, according to the Edgecast documentation you should use the subscribe parameter:
EDIT: Fixed typo.
阅读 RTMP 文档。
我过去曾成功地使用 Flowplayer 进行直播。我的配置和你的配置之间的区别是我的 rtmp 部分中有“subscribe: true”。这是使用 EdgeCast 作为我的 rtmp 服务器,但其他提供商也希望如此。
Have a read of the RTMP docs.
I have used flowplayer successfully for live streaming in the past. The difference between my config and yours is I have "subscribe: true" in my rtmp section. This was with EdgeCast as my rtmp server but other providers expect it as well.