javascript 如何从此 URL 获取 RTMP 和流名称?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/18038570/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to get the RTMP & stream name from this URL?
提问by SofieKitty
I am trying to get the RTMP & stream name of the top JW PLAYER that shows up When you open this link: LINK
我正在尝试获取当您打开此链接时显示的顶级 JW 播放器的 RTMP 和流名称:LINK
I have tried everything but I am unable to get it, can someone please help me with this.
我已经尝试了一切,但我无法得到它,有人可以帮我解决这个问题吗?
My ultimate goal is to be able to grab that stream and put it in my own JWPLAYER,
我的最终目标是能够抓取该流并将其放入我自己的 JWPLAYER,
thank you so much!
太感谢了!
any info would really help guys
任何信息都会真正帮助人们
回答by EresDev
Your above stream link is http://fw01.livem3u8.me.totiptv.com/live//7f2989e3f87e4efdb36bac56b64dca62.m3u8?bitrate=800
您上面的流链接是http://fw01.livem3u8.me.totiptv.com/live//7f2989e3f87e4efdb36bac56b64dca62.m3u8?bitrate=800
That is working fine right now in VLC player. But for me it was total hit and trail. What i did for this is I'm going to explain.
现在在 VLC 播放器中运行良好。但对我来说,这是完全命中和跟踪。我为此所做的就是解释。
- Download URL Helper from www.urlhelper.com/download.htm (trail version will work fine)
- Install it and run it.
- Click Options >> Select and select your network adapter.
- Click OK.
- Then click Start at toolbar (It starts watching your network traffic).
- Run the page where stream is.
- In a moment URL helper will start showing you some URLs.
- On the bottom click "All" See here http://s22.postimg.org/9w61m07y9/Untitled.png
- Copy the URL that is NOT shown as mp3.
- If you are running only one stream there will be only one address shown multiple times.
- Copy that URL. That's your stream link. That you can use to run on any player(Hopefully).!
- 从 www.urlhelper.com/download.htm 下载 URL Helper(跟踪版本可以正常工作)
- 安装并运行它。
- 单击选项 >> 选择并选择您的网络适配器。
- 单击确定。
- 然后单击工具栏上的开始(它开始监视您的网络流量)。
- 运行流所在的页面。
- 稍后 URL 助手将开始向您显示一些 URL。
- 在底部点击“全部”见这里http://s22.postimg.org/9w61m07y9/Untitled.png
- 复制未显示为 mp3 的 URL。
- 如果您只运行一个流,则只会多次显示一个地址。
- 复制那个网址。那是你的流链接。您可以使用它在任何播放器上运行(希望如此)。!
I hope this will work for you as well.
我希望这对你也有用。