3 ms·
I don't think it's that easy technically. The TV everywhere auth + stream limiting seems like a uniquely terrible problem to solve compared to the Netflix versi
by majormajor 9y ago
I don't think it's that easy technically. The TV everywhere auth + stream limiting seems like a uniquely terrible problem to solve compared to the Netflix version.
The HBO 3rd party app streams + the xfinity app streams + the ESPN app streams + the USA Network app streams [ + 30 other channel-specific apps ] all have to report to a single central place for each cable provider, if you're going to do this effectively, right?
- Retric 9y agoIt's just a counter. Also, you can shard based on a hash of the account letting you scale without limit.
- majormajor 9y agoIt's just a counter that has to be implemented properly between dozens of third party partners each with much weaker incentives than you have. It's gonna take a while, especially if you're waiting for things like smart-TV-side apps to get updated. Sorry, you're right, though, I chose the wrong word: it's not a mainly technically challenge e.g. for scaling, it's a process/implementation/people one.
- Retric 9y agoI assume they are already tightly coupled systems as you need a single login, but you're probably right it's 3rd party systems that would be an issue.
- majormajor 9y agoYeah, I haven't worked directly on these sorts of systems either, but my hunch is that it looks something like this, from working on some conceptually-similar areas, and playing around with the implementation some (and hitting certain limits but not others): To watch something in ESPN app: 1) user visits ESPN app 2) espn kicks user to cableco login embed to verify what channels they're allowed to watch 3) some sort of account-based rights info exchange 4) [everything past this point is ESPN-platform-mediated stream limiting only, and this part is analagous to what Netflix, etc, does as well, but they don't seem to be checking in to the same central place as other partner apps] Cause doing some account sharing in the past, I noticed there would sometimes be problems if we were all trying to use the same app with the same cable creds, but that me watching ESPN and Alice watching Fox Sports and Bob watching TBS didn't seem to interfere with each other at all.
- exelius 9y agoIt's all OAuth and SAML on the backend. The player asks for authorization to play content from the cable company (since it has to check against a few dozen criteria like entitlements, parental controls, concurrent stream limits, etc.) and is either given authorization or an error. It's honestly pretty simple.
- majormajor 9y agoThat still seems incomplete. How does e.g. the cable company know when I stop watching a piece of content through the ESPN app in this scenario, and so have that stream available for [other person on my account] to watch through the TBS app? E.g., still seems like you have to have a central heartbeat if you're centralizing your stream limits. And more directly, why can my parents watch more stuff if using multiple separate apps on their shared cable account than if they're both watching through their UVerse app?
- exelius 9y agoYou do need a central heartbeat; the cable company is the party that bills you for service, so they're the ones determining if you have access to the content. The content owners (i.e. TBS) send start/stop data to the cable company via their app, there's a timeout if the heartbeat is lost, plus the DRM keys expire pretty frequently (every few minutes I think, though it depends on what streaming service the content is hosted on) so if they're not renewed you can't keep playing the video. Add a little logic to this flow and you can see how it works. Not every app implements this properly, but it's all part of the decade-old spec. If this sounds like a lot of work, you're right -- the vast majority of content owners outsource all this work to Adobe's hosted TVE platform that maintains integrations with multiple cable companies. Edit: also, cable companies definitely collect and resell viewing data for advertising purposes. Shouldn't surprise anyone, but they've had this capability for at least 20 years (STB channel change used to be sent on out-of-band RF back then but it's all IP now). In fact, with nothing more than an IP address, you can usually target quite a few attributes at the household level.
- jsjohnst 9y agoThey aren’t. The only thing coupled is the auth, from there on it’s the app’s data provider giving the stream, not one universal stream source for some piece of content.
- exelius 9y agoThis happens today and has for about 10 years. Each piece of content consumed hits an API endpoint at the cable company with an OAuth token requesting access to the content. If it's granted, a DRM key is sent. If it's rejected, it's not. The video players send metrics back to the cable companies and refresh the key periodically.