A reverse HTTP proxy that may eventually do things
BSD-3-CLAUSE License
A tool that if you're lucky you'll never need.
A collection of various unportable hacks to transform HLS streams for debugging purposes. This is highly tailored towards the sort of setup I'm working with right now, so it will almost certainly not work out-of-the-box for you.
mitmproxy
is great! Getting TLS to run your device is actually surprisingly
easy. I'll assume here that you're setting up an Android device.
mitmproxy
bare-bones in the same WiFi as your device:mitmproxy -b 0.0.0.0 -p 8888
.mitm_redirect.py
script to take parameters, so you maymitmproxy
again, this time in script mode to redirect all requests tohls_proxy
instead:mitmproxy -s mitm_redirect.py -b 0.0.0.0 -p 8888
.Charles is way more painful to setup, but to each their own. I'll assume here that you're setting up an Android device.
hls-proxy -- -p 8080 my-cdn.com
Tools -> Map Remote
andNow use your app, device or whatever and start a stream. You should see the access log on stdout. If not, something went wrong with your Charles setup. Back to StackOverflow, sorry.
This tool is built with stack.
git clone https://github.com/passy/hls-proxy
cd hls-proxy
stack setup
stack build
stack exec hls-proxy -- --help
BSD-3