Skip to content

Logic Refactored

Choose a tag to compare

@bruor bruor released this 22 Oct 01:34
b883f9d

Refactored upstrem fetching logic take place in the "tee" process. The proxy now mimics the player user-agnet and hides all proxy headers from the server upstream. It also does range request translation, so if a client does a non-range request for the media, the proxy will make multiple range requests to the provider to mimic a player (but it seeks the entire file as fast as it can). If the provider doesn't support range requests it will fall back to non-range mode. Increased the default value of the range-request detection to 5MiB because 1MiB was not aggressive enough. VLC sends 4MB+ as a starting point.