如何使用RTMP插件在Flowplayer中直播USTREAM?

时间:2013-02-18 16:26:57

标签: video-streaming rtmp flowplayer

我有一个与USTREAM一起播放的直播。我可以在USTREAM仪表板的频道远程设置下找到RTMP URL和流密钥。

我想通过Flowplayer直播我的频道。我已经下载了RTMP插件并将netConnectionUrl设置为USTREAM RTMP URL,并将剪辑URL设置为Stream键,但它不起作用。

它出现以下错误:

201, Unable to load stream or clip file, connection failed, clip: '[Clip] 'XSWjEqbQbMPS8BdcEUsqJZJgUvgNydFu''

以下是我对Flowplayer的JavaScript设置:

flowplayer("player", "/js/vendor/flowplayer/flash/flowplayer-3.2.16.swf", {
  clip: {
    url: "XSWjEqbQbMPS8BdcEUsqJZJgUvgNydFu", // Stream Key
    live: true,
    autoPlay: false,
    autoBuffering: true,
    provider: 'rtmp'
  },
  plugins: {
    audio: {
      url: '/js/vendor/flowplayer/flash/flowplayer.audio-3.2.10.swf'
    },
    rtmp: {
      url: '/js/vendor/flowplayer/flash/flowplayer.rtmp-3.2.12.swf',
      netConnectionUrl: 'rtmp://1.3048370.fme.ustream.tv/ustreamVideo/3048370' // RTMP Url
    }
  }
});

有人知道如何让USTREAM通过Flowplayer工作吗?

0 个答案:

没有答案