by spankalee · 1y ago · 0 comments
YouTube on TVs is actually a web app that loads into a stripped down, custom webview. The YouTube team doesn't have the resources to implement many web APIs, so they implemented just what they needed.
The problem is that they can't reliably update Cobalt versions on TVs, they can't ask users to update, and they can't just break older TVs in the wild. So the YouTube on TV frontend (not YouTube TV the service) has to only use APIs they shipped like 10 years ago.
And because it takes so long for an old Cobalt version to go out of support, they don't invest in implementing new features because they wouldn't be usable anytime soon. 10 years ago I was in a meeting with them where they said they couldn't implement something because they wouldn't be able to use it for 5 years... They still haven't implemented it.
I call that trailer park logic:
They say: "Why go to college? That will take four years and I need a job now!"
Then four years later, while still in a dead end job: "Why go to college? That will take four years and I need a job now!"
This is more like: "Why implement it? That won't be seen for five years and I need a promotion now!"
It's also not unreasonable to believe that the two things are linked.
What new features?
The only "new features" Youtube implements is shoving shorts down your throat and taking five seconds to show video times on thumbnails despite the fact that the data is already there.
There's nothing Youtube requires from "new features" that can't be implemented in a browser tech from 15 years ago.
Also, Youtube the site doesn't have to deal with Cobalt-the-TV-app just like it doesn't have to deal with YouTube-the-mobile-app
Video encodings themselves are separate the client always selects the most favorable one from the available set (e. G., vp9 over av1 when hw decode for av1 is not present)
It's not proprietary
This way they could keep an old html/css/js implementation running alongside the upgraded one.
Annual revenue is a few dozen billions.
So what's the problem, here?
Minimizing developer pain is not a business objective.
But YouTube is also a very complex app. Yes it "just" exists to play videos, but the app is so much more than a video player. Browsing, searching, comments, chat, playlists, YT Live, subscriptions, profiles, ratings... there's a lot there.
Perhaps they could start with just cutting down their bloated 100x-duplicated 4MB CSS file?
However, it's clear that the devs are mainly composed of trendchasing sheeple who have drunk the Goog-Aid and are addicted to newness and reinventing wheels to make them square... because they have to justify their existence.
YouTube was perfectly usable 15 years ago, on the machines and software of the time.
I'll stop at the imminent conclusion that having Cobalt is a good thing for various reasons.
Looks like stable API like that is a perfect candidate for usage in an open source app that replaces the official one.
It's a site that shows a bunch of text, a few images, and then loads and plays video. What features does it need on a TV that it's so hard to implement?
Edit: I know which ones, and they have very little to do with Cobalt, but with the fact that even high end TVs are often worse than a Raspberry Pi, and can stick around for a decade. But this is nothing ditching Cobalt would fix.
E.g. you can't run 4k video on some models that can technically show it because there's not enough CPU and RAM to run the browser, the video, the decoder, and the DRM at the same time, the video stutters