]> git.gir.st - subscriptionfeed.git/commit
fix tcp streams aborting
authorgirst <tobi@isticktoit.net>
Wed, 24 May 2023 19:19:25 +0000 (19:19 +0000)
committergirst <tobi@isticktoit.net>
Wed, 24 May 2023 19:19:25 +0000 (19:19 +0000)
commit7bad096662227cc3fde197f96f9f944f705fa565
tree940253b8b5a0e01f9ad6a7350dfac11735341dee
parent2c9f7e12090d716cb4bfb8e7e4d814ebceaa0024
fix tcp streams aborting

since updating the android parameters, downloading of streams would sometimes
stop. it seems to be correlated to pausing the video, probably the browser
stops further buffering and resuming the download then fails.

these parameters are taken from newpipe (sdk version, user agent, app version)

not sure if using the correct api key helps, but doing this now anyways.

interestingly, switching the api host name to youtubei.googleapis.com (which
is what supposedly the android app uses) reintroduces the stream bug.
app/common/common.py
Imprint / Impressum