]> git.gir.st - subscriptionfeed.git/commit
don't load livestreams through proxy for osx(?) devices
authorgirst <tobi@isticktoit.net>
Sat, 20 Mar 2021 20:26:58 +0000 (21:26 +0100)
committergirst <tobi@isticktoit.net>
Sat, 20 Mar 2021 20:26:58 +0000 (21:26 +0100)
commitbe96e2df81acdec233c001b4a556787e660acefb
treea159e0ff6439372c79bdcd4b74944a1fd1903118
parent78f34be2772a5207612ed58f6326b34b2c941c4f
don't load livestreams through proxy for osx(?) devices

some browsers reporting as osx will request the hls_manifest way too
often, causing strain on the server. however, it just so happens that
osx supports native hls playback, so we can just have them talk to
google's servers directly.

this commit also introduces EXT-X-ENDLIST to */hls_variant/*, so it
only gets requested once.
app/proxy/__init__.py
app/youtube/__init__.py
app/youtube/templates/watch.html.j2
Imprint / Impressum