Closed Bug 1882205 Opened 11 months ago Closed 11 months ago

Add telemetry to measure first frame loaded time for video

Categories

(Core :: Audio/Video: Playback, task, P1)

task

Tracking

()

RESOLVED FIXED
125 Branch
Tracking Status
firefox125 --- fixed

People

(Reporter: alwu, Assigned: alwu)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

I'd like to add a probe to measure how long do we need to load the first video frame. I will add the measurement within MediaDecoder::FirstFrameLoaded.

In addition, as I'm planing to optimize the first frame loading time for the media engine playback, I will categorize the result by different playback type in order to understand how well the optimization would be doing and know the difference between it and non-media-engine playback.

(1) Non-MSE playback
(2) MSE playback
(3) EME playback
// Following are Windows-only
(4) Non-MSE media-engine playback
(5) MSE media-engine playback
(6) EME media-engine playback
Attachment #9382744 - Attachment description: WIP: Bug 1882205 - add a probe to measure the first frame loaded time. → Bug 1882205 - part1 : add a probe to measure the first frame loaded time.

browser_glean_first_frame_loaded_time.js tests non-media engine
situation, and browser_wmfme_glean_first_frame_loaded_time.js tests
media engine situaion, which would only be run on wmfme task.

Depends on D202775

Attached file data-review-request
Attachment #9388774 - Flags: data-review?(chutten)

Comment on attachment 9388774 [details]
data-review-request

PRELIMINARY NOTES:

Permanent collections require a named individual to be responsible for caretaking, but the review request form only lists the media-alerts list. I'm assuming Alastor Wu as requestor will serve that role. (If not, please supply the name of a different individual who will serve)

DATA COLLECTION REVIEW RESPONSE:

Is there or will there be documentation that describes the schema for the ultimate data set available publicly, complete and accurate?

Yes.

Is there a control mechanism that allows the user to turn the data collection on and off?

Yes. This collection can be controlled through the product's preferences.

If the request is for permanent data collection, is there someone who will monitor the data over time?

Yes, Alastor Wu is responsible.

Using the category system of data types on the Mozilla wiki, what collection type of data do the requested measurements fall under?

Category 1, Technical.

Is the data collection request for default-on or default-off?

Default on for all channels.

Does the instrumentation include the addition of any new identifiers?

No.

Is the data collection covered by the existing Firefox privacy notice?

Yes.

Does the data collection use a third-party collection tool?

No.


Result: datareview+

Attachment #9388774 - Flags: data-review?(chutten) → data-review+
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/b528eaee79d1 part1 : add a probe to measure the first frame loaded time. r=media-playback-reviewers,jolin https://hg.mozilla.org/integration/autoland/rev/46f80f8c13ae part2 : add glean test. r=padenot https://hg.mozilla.org/integration/autoland/rev/42b42e60f35b apply code formatting via Lando
Status: NEW → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 125 Branch
Blocks: ttff
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: