You are browsing as a guest. Sign up (or log in) to start making projects!

Preloading

@Preloading

Joined June 2nd, 2026

  • 60Devlogs
  • 4Projects
  • 0Ships
  • 0Votes
slowly going insane making stuff that sometimes works. also stuff that is impossible to demo for most people (why can't i do something normal????)
Open comments for this post

4h 31m 49s logged

I did a bunch of things, none of which felt that interesting to make a log for, so here’s one big one.

  • The quality selector now works
  • You can now toggle video stats (logging in history) on or off.
  • Some error handling and trimming stuff to save on ram
0
0
9
Open comments for this post

5h 48m 6s logged

So this one is small, but I’ve done an optimzation for the process of getting that little thumbnail. The older youtube clients did indivisual, very small requests for the specific channel, incl the thumbnail. I already have this data with the video requests, and getting the channel data is rather wasteful of the network and slow. I’ve replaced it with just using the avatar from the feed. Speeds things up a decent chunk!

0
0
33
Open comments for this post

2h 8m 49s logged

I made some of the settings work, and also made it hide the comments count which I don’t have a way of getting a precise number right now. Ignore the playback error.

0
0
12
Open comments for this post

4h 26m 51s logged

i did a bunch of misc fixes which aren’t interesting.

  • iOS 5 preference fix
  • some reloading of video changes with SABR
  • cleanup of a bunch of things
  • a fix to the item count (cuz 32bit limit aaaaaaa)
  • memory things
  • some crash bugs with SABR
0
0
61
Open comments for this post

5h 40m 12s logged

A bunch of signin fixes, I fixed the channel id finder failing for different accounts, and I fixed an issue where one of the requests I did on 2.0.0 is synchronous and would not let the app start until it completed.

0
0
18
Open comments for this post

3h 22m 58s logged

2.0.0 support! and actually 1.4.0 support this time (oops, i think i clicked the wrong version…). I really hacked my way to 2.0.0 support, as it adds all the stream data to a protobuf container thingy which is never actually generated as protobuf. The protobuf also isn’t a normal function, and I couldn’t figure out how to recreate it, not that it would really work if it does do some protobuf shenanigans.

So I did what probably every programmer does, hack it in poorly. When it
starts trying to play the video, after the protobuf section, and where i still have access to the legacy GData streams, and I just shove it in there, and it manages to work! Also had to do some extra things to include valid authentication to the SABR stuff so it can play private videos and such. But now 2.0.0 works!

0
0
14
Open comments for this post

1h 35m 44s logged

I managed to get 1.4.0 support working! They started kinda doing what I implemented myself…. which causes issues, but it works! 2.0.0 is going to be hard tho…

0
0
13
Open comments for this post

3h 42m 26s logged

Managed to get videos to count towards your history! Also some kinda boring optimization things (start parsing even while we are still downloading, because net neutrality doesn’t exist for some reason, and someone got 22 seconds for a 2mb file)

0
0
3
Open comments for this post

1h 28m 6s logged

A bunch of smaller bugfixes, and now it runs on iOS 5. There was some small differences since polyfils, and it doesn’t work with a proxy on (since it proxies localhost). The left device is iOS 5.

0
0
9
Open comments for this post

2h 16m 40s logged

I spent a bit of time fixing up the settings menu to properly have the HD options. Unsure how much of this is going to stay like this, but right now both of the HQ ones work, the 360p (Android) plays with SABR for a bit, then it stops as we don’t have proper attestation (our POTokens only work on web based clients). Probably going to have to forbid using sabr on ANDROID. Unsure yet about Android VR or visionOS. They both need a visitorData, which I still have to get. VisionOS has the nice perk of giving a completely unprotected HLS stream, which this can use. Android VR is traditionally unprotected, but I think they kinda ruined that.

I also did a tiny bit of work to get closed captions working, which is basically prefixing https://www.youtube.com to the URL if it begins with a slash

0
0
6
Open comments for this post

5h 6m 34s logged

I managed to fix most of the RAM issues, excluding the one inside the youtube app which my stuff amplifies. I’ve done some stuff to allow you to change apps, lock the phone, etc, and have the stream recover. It’s not perfect, but it works well enough.

0
0
15
Open comments for this post

3h 57m 45s logged

It kinda somewhat maybe works! you can make it through a video, however scrubbing thru the video takes forever (some request never finishes), and theres some random stutter in the video. RAM usage is still a problem, and private videos don’t play. To get here, I did things how the HTTP server wanted so other requests can come in while i’m waiting for a segment, and allows this to play fully, however I do still need to fix the buffering issues.

0
0
12
Open comments for this post

2h 49m 30s logged

Figuring out why the player view was never getting freed was taking too long, so uhh audio! yes! I have managed to grab the header out of the app after having to patch wayyy too many bugs with the header parsing, some of which could crash the app if your network is bad. Tiem to parse dis audio header!

0
0
41
Open comments for this post

5h 9m 5s logged

I managed to make the buffering system a little more robust, it can complete a video & even seek if your careful to let it play out. I also fixed some of the memory leaks, you can get much farther, but it does still only climbs, at the end of this 25 minute video it got up to 189mbs of ram used, which means we basically leaked 100mb of ram. This is quite unacceptable still, and I get to do more of figuring out why, yay!

0
0
10
Loading more…

Followers

Loading…