RTMP链接查询

时间:2013-04-19 18:24:42

标签: html flash rtmp

我在html代码中找到了一个指向直播视频供稿的链接,如下所示:

<embed height="500" width="650" flashvars="file=foxmovies&amp;streamer=rtmp://198.7.58.79/edge&amp;rtmp.subscribe=true&amp;quality=best&amp;controlbar=bottom&amp;rtmp.tunneling=false&amp;frontcolor=#fff&amp;backcolor=#000&amp;stretching=exactfit&amp;autostart=true" wmode="transparent" allowfullscreen="true" allowscriptaccess="always" quality="high" src="http://s.zuuk.net/ply.swf" type="application/x-shockwave-flash">

我想知道RTMP流的实际链接是什么。我对“文件”和“边缘和放大器”以及闪光灯感到困惑。

由于

EDIT1

<script type="text/javascript">
jwplayer("dplayer").setup({
    id: 'dplayer',
       flashplayer: "http://player.ilive.to/player.swf",
    provider: "rtmp",
       streamer: "rtmp://redirect.isearch.to/edge",
    file: "2tag4dzgwof5ma2.flv",
    autostart: "true",
       plugins: {
           "http://player.ilive.to/ova/ova-jw.swf": {
              "ads": {
                 "schedule": [
                     {
                        "position": "pre-roll",
                        "tag": "http://ad4.liverail.com/?LR_PUBLISHER_ID=1912&LR_PARTNERS=718594&LR_SCHEMA=vast2-vpaid&LR_AUTOPLAY=1&LR_CONTENT=6&LR_VERTICALS=[entertainment]&LR_TITLE=[Disney_channel]&LR_VIDEO_ID=[38804]&LR_URL=[http://www.ilive.to/channels/38804/Disney_channel]"
                     }
                 ]
              },

              "debug": {
                  "levels": "fatal, config, vast_template, vpaid, http_calls, playlist, api"
              }
           } 
       },
       height: '100%',
       width: '100%'
});
</script>

1 个答案:

答案 0 :(得分:0)

flashvars是传递给Flash电影的键/值对。

“&amp; amp;”是键/值之间的分隔符(它实际上只是“&amp;”,但可能是沿着这一行的某个地方的html-ified)。

因此,在您的情况下,传入的值是:

file = foxmovies

streamer = rtmp://198.7.58.79/edge

rtmp.subscribe = true

质量=最佳

controlbar = bottom

rtmp.tunneling =假

frontcolor =#FFF

背景色=#000

拉​​伸= exactfit

自动起动=真

Flash影片如何解释它们以产生流URL取决于Flash影片中的代码。