Closed Bug 1863873 Opened 6 months ago Closed 3 months ago

Block tab audio decoding in content processes in release builds

Categories

(Core :: Audio/Video, enhancement)

enhancement

Tracking

()

RESOLVED FIXED
124 Branch
Tracking Status
firefox124 --- fixed

People

(Reporter: gerard-majax, Assigned: gerard-majax)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

As of bug 1850904 we have blocked the ability to perform audio decoding on tab (unless a pref was toggled) in nightly and for early beta in bug 1850904, we should expand this to late beta and release now. This will ride the train.

After careful tylemetry analysis, we can state :

  • no audio decoding happening in the wild on beta and nightly on a different process than utility
  • for a pair of releases already
  • no bug report on those that audio is not working (we had some: bug 1840371, bug 1839852, bug 1856301), given the time this has been on, we hopefully had more feedback if there was a problem
  • nightly and early beta are already blocking audio decoding outside of utility, and it's a locked pref on nightly
  • release still shows a bit of decoding on tab process

That last point was the major concern. We investigated whether we had another misreport such as bug 1844281 but could not find any. Telemetry shows us that clients reporting audio decoding on the tab process are also reporting utility decoding within the same browsing session ; this means the utility process works for them. One way this could happen is if there's a race between Content exposing its decoding capabilities (that blocking with the current patch will avoid), and Utility exposing its. It took me a while to get to reproduce that in a consistent way, all my previous attempts would block the media startup chain and wait for Utility rather than fallback to Content, but there is a way.

Attachment #9362959 - Attachment description: WIP: Bug 1863873 - Block ability to perform audio decoding outside of Utility on release → Bug 1863873 - Block ability to perform audio decoding outside of Utility on release r?padenot!
Depends on: 1856301

(In reply to :gerard-majax from comment #4)

android regresssed ? :( https://treeherder.mozilla.org/jobs?repo=try&revision=5afeaa274626ccd254060d396239497a855e30ca

or a mistake during a rebase, which disabled utillity on android :[, new try looks better: https://treeherder.mozilla.org/jobs?repo=try&revision=37143380b27f3b4b853a1d926ae45225b507c82b

Blocks: 1678233
Duplicate of this bug: 1678233
Pushed by alissy@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/bb44589ad2d9
Block ability to perform audio decoding outside of Utility on release r=padenot
Summary: Block tab audio decoding on release builds → Block tab audio decoding in content processes in release builds
Status: NEW → RESOLVED
Closed: 3 months ago
Resolution: --- → FIXED
Target Milestone: --- → 124 Branch
See Also: → 1878503

This shipped on 124 and as of today, telemetry is all good, no audio decoding reported on tab and we got so far no complaints of missing audio / blocked decoding

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: