Simplify Widevine Balrog rules
Categories
(Release Engineering :: Release Requests, task)
Tracking
(Not tracked)
People
(Reporter: bryce, Unassigned)
Details
The Balrog rules to serve Widevine have grown more complex over time. It would make adding new rules easier if the existing rules where simpler.
Media previously liked to leave rules up so old versions of Firefox functioned with the CDMs they were originally paired with. This meant that we would have a slowly growing list of rules, but the rate of growth was relatively slow compared to the current rate, and old rules would typically just slide further down the list.
However, we've seen an increased rate of CDM releases, more need to backport CDMs (change rules to ship to beta, or in extreme cases, release) , and a faster deactivation of old CDMs. This leads to us maintaining rules for no longer supported versions of Firefox with CDMs that are no longer served licenses by servers (deactivated CDMs).
I don't have an exact course of action decided on yet. A couple of thoughts:
- We could stop serving to unsupported versions of Firefox where the CDM is deactivated. This would be the greatest reduction in rules.
- We could keep serving CDMs as best we can, but consolidate rules and backport CDMs where possible. This would not reduce the rules as much, but would keep more versions of Firefox working (which can be useful for testing regressions on the media end).
Comment 1•4 years ago
|
||
We refactored the rules earlier this year in bug 1677793. Is there more we want to do still, or are we ok with the current set?
Reporter | ||
Comment 2•4 years ago
|
||
Let's close this as we've consolidated rules in bug 1677793. I think there's more work we could do, such as communicating from balrog when a CDM is no longer supported, but we can create a new bug to track such work if it becomes a priority. If we do that, one of the neat things we could do is merge all the old rules into a single "your browser version + CDM is out of date and need to update" rule, but that's aspirational at this point.
Description
•