如何从flashvars(解码)中找到rtmp流式网址?

时间:2016-07-12 15:45:20

标签: javascript url streaming

我正在尝试在此页面上找到该视频的rtmp流:http://www.livenewschat.eu/canada/

我尝试过Media Sniffer,Web Sniffer,下载助手,Chrome的开发者工具(以及查看网络流量),但我找不到网址。我最接近的是使用Chrome的开发者工具,并找到flashvars参数:

<param name="flashvars" value="netstreambasepath=http%3A%2F%2Fwww.livenewschat.eu%2Fcanada%2F&amp;id=6fe82a5201dec175e746dcba7605dd4d&amp;skin=http%3A%2F%2Fnewschat.tv%2Ftheme.zip&amp;author=livenewschat.eu&amp;stretching=uniform&amp;file=cbc_live&amp;image=http%3A%2F%2Fwww.livenewschat.eu%2Fwp-content%2Fuploads%2F2015%2F05%2Fnews-banner-640.jpg&amp;autostart=true&amp;streamer=rtmp%3A%2F%2Fdiljon.cdn.newschat.tv%2Fedge&amp;controlbar.position=bottom">

我也找到了javascript:

function serverReady(data)
{
    jQuery("div#6fe82a5201dec175e746dcba7605dd4d").html = '<a href="//www.adobe.com/go/getflashplayer"><img src="//www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a>';
    var playerVars = 
    {
        skin: "http://newschat.tv/theme.zip",
        flashplayer: "http://newschat.tv/player.swf",
        author: "livenewschat.eu",
        stretching: "uniform",
        file: "cbc_live",
        image: "http://www.livenewschat.eu/wp-content/uploads/2015/05/news-banner-640.jpg",
        autostart: "true",
        controlbar: "bottom",
        width: 640,
        height: 385 
    };
    playerVars["streamer"] = "rtmp://" + data.best + "/edge";
    if (playerVars["plugins"] !== undefined)
    {
        playerVars["plugins"]["streamer"] = playerVars["streamer"];
    }
    jwplayer("6fe82a5201dec175e746dcba7605dd4d").setup(playerVars);
};

所以我的rtmp流是rtmp://diljon.cdn.newschat.tv/edge/cbc_live

但是,不。不是。你知道在玩什么吗?何男!!!他正在唱着“会发生什么事?”不得不仔细检查,并确保我没有闪回或LOL。我究竟做错了什么?我怎样才能找到这条小溪?我想在Kodi中使用它。

1 个答案:

答案 0 :(得分:0)

网址目前是:

网址= rtmp://howdy.cdn.newschat.tv/edge playpath = msnbc_live swfUrl = http://pro.livenewschat.tv/player.swf swfVfy = 1 live = 1 pageUrl = http://www.livenewschat.eu/politics/ timeout = 15

您需要查看源并找到服务器URL:

SRC = “http://newschat.tv/server.json”

然后将其放入浏览器中,它将显示:

serverReady({ “totalConns”:412, “最好的”: “howdy.cdn.newschat.tv”});

“best”之后的url是你想要在rtmp://和/ edge

之间添加的