Closed Bug 1287987 Opened 3 years ago Closed 3 years ago

Telemetry to support background video decoder suspend: Percentage hidden/total play time, keyed by audio presence and height ranges

Categories

(Core :: Audio/Video: Playback, defect)

50 Branch
defect
Not set

Tracking

()

RESOLVED FIXED
mozilla50
Tracking Status
firefox50 --- fixed

People

(Reporter: gerald, Assigned: gerald)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

To help tweak the decoder-suspend functionality, we want to measure how much videos actually play while hidden.
The telemetry probe will be similar to VIDEO_HIDDEN_PLAY_TIME_MS, but will record the percentage of time the video is hidden relative to the total play time.
Unplayed or invalid videos are not counted.
Telemetry will be keyed by audio presence ('AV' with audio, 'V' video only), and by resolution ranges (e.g. '720<h<=1080'). An 'All' key will also accumulate all numbers.
Telemetry probe, for feedback (using r? in mozreview) by telemetry peer.

Keying by audio presence and height range will help us better understand how
much benefit we should effectively get for the video population out there.

Review commit: https://reviewboard.mozilla.org/r/65430/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/65430/
Attachment #8772689 - Flags: review?(francois)
Attachment #8772689 - Flags: review?(dglastonbury)
Attachment #8772690 - Flags: review?(dglastonbury)
Comment on attachment 8772689 [details]
Bug 1287987 - Histogram for VIDEO_HIDDEN_PLAY_TIME_PERCENTAGE -

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/65430/diff/1-2/
Comment on attachment 8772690 [details]
Bug 1287987 - Record VIDEO_HIDDEN_PLAY_TIME_PERCENTAGE telemetry -

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/65432/diff/1-2/
Comment on attachment 8772690 [details]
Bug 1287987 - Record VIDEO_HIDDEN_PLAY_TIME_PERCENTAGE telemetry -

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/65432/diff/2-3/
Comment on attachment 8772690 [details]
Bug 1287987 - Record VIDEO_HIDDEN_PLAY_TIME_PERCENTAGE telemetry -

Review request updated; see interdiff: https://reviewboard.mozilla.org/r/65432/diff/3-4/
Comment on attachment 8772689 [details]
Bug 1287987 - Histogram for VIDEO_HIDDEN_PLAY_TIME_PERCENTAGE -

https://reviewboard.mozilla.org/r/65430/#review62442

LGTM
Attachment #8772689 - Flags: review?(dglastonbury) → review+
Attachment #8772690 - Flags: review?(dglastonbury) → review+
Comment on attachment 8772689 [details]
Bug 1287987 - Histogram for VIDEO_HIDDEN_PLAY_TIME_PERCENTAGE -

https://reviewboard.mozilla.org/r/65430/#review62624

data review+
Attachment #8772689 - Flags: review?(francois) → review+
Pushed by gsquelart@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/b30a96d890b6
Histogram for VIDEO_HIDDEN_PLAY_TIME_PERCENTAGE - r=francois,kamidphish
https://hg.mozilla.org/integration/autoland/rev/3f4268be9829
Record VIDEO_HIDDEN_PLAY_TIME_PERCENTAGE telemetry - r=kamidphish
https://hg.mozilla.org/mozilla-central/rev/b30a96d890b6
https://hg.mozilla.org/mozilla-central/rev/3f4268be9829
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla50
Blocks: 1288949
Blocks: 1299065
You need to log in before you can comment on or make changes to this bug.