-
Notifications
You must be signed in to change notification settings - Fork 80
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ip restrictions #24
Comments
regarding the use of this hls proxy to bypass access restrictions imposed by the video host: only 2 registered IP addresses are allowed to make requests to download video.. yes, using a hls proxy is very good workaround. in this use case, if these are all live video streams (ie: not video on demand).. |
regarding adding an option to configure the use of a socks proxy, between the hls proxy and the video host..
a good tool to use to help determine how much of a delay a socks proxy would impose is my command-line http client..
wrap each test in a timer.. |
Hm, you have right. socks or any proxies between it will add delay. In this case last option is set like you said prefetch and big fragments to saving in memory. |
In my case I have a stream that's restricted to a specific country only. My server doesn't run in that country however I have an http proxy I can use. Is there a way I can do this with HLS Proxy ? If not, any suggested workarounds ? |
I think there's room for compromise.. I didn't want to include support for non-http protocol proxies (ex: socks4, socks5, etc).. However, adding support for an http/https proxy doesn't require any new libraries.. --http-proxy "http://username:password@hostname:port" I'll write that up and test it within the next day or two.. |
I understand your concern about keeping the codebase light with minimal dependencies. Thank you for the consideration and quick response, much appreciated. I tried looking into the code and trying to figure out to do what I wanted to do, but I wasn't sure which options to pass to node-request to make the requests go through the proxy. Not even sure if it's supported there. Thanks again. |
node-request doesn't include support for that, for the same reason.. node-request-cli adds support for many different types of proxies.. |
ok.. v3.3.0 is ready to use. I used a proxy server at GetFlix to test.. |
Thank you so much for the quick implementation 🙏 ! |
Hello,
Your project be awesome!
Will this repo handle IP restrictions? i have an m3u8 channel but it limits the use to 2 devices per ip address. Can you get around this? Can you somehow add support for SOCKS proxy or something like that?
example link: http://r.faola.li/6428/video.m3u8?token=K8C3Dt1DXA
Best Regards
The text was updated successfully, but these errors were encountered: