`MEDIA_CONTROL_PLATFORM_USAGE` doesn't work as my expectation
Categories
(Core :: Audio/Video: Playback, task, P3)
Tracking
()
People
(Reporter: alwu, Assigned: alwu)
References
Details
We would only set MEDIA_CONTROL_PLATFORM_USAGE
at most twice per session time,
and I use Set
method [1] so the second one would overwrite the first one to keep the final result.
I suppose using Set
would only make probe's value be either 0
or 1
, instead of keeping adding the value like that [2].
[1] https://searchfox.org/mozilla-central/rev/58e955b8005b4845c42e874a6b9aa5b223ef0d82/dom/media/mediacontrol/MediaControlService.cpp#148-149
[2] https://mzl.la/2KAGzPt
Assignee | ||
Comment 1•5 years ago
|
||
Hi, Chris,
For each client, I would like to see its probe value being either 0
or 1
, not an accumulated value. Do you know what's wrong happening here? Did I use the scalar wrongly? How can I change the probe in order to collect the result I described above?
Thank you so much.
Comment 2•5 years ago
|
||
telemetry.mozilla.org's Measurement Dashboard doesn't know how you're encoding values, so all it does is count the number of pings that have values in each of the buckets over the range you specify and show that. It's all it can do.
To do what you're after you'll need to do some custom analysis. Maybe something like this: https://sql.telemetry.mozilla.org/queries/77061/source
If you'd like more realtime assistance, people on Slack#data-help or #telemetry:mozilla.org on Matrix should be able to help you (if anyone's around. 'Tis the season).
Assignee | ||
Comment 3•5 years ago
|
||
Ah, thank you so much! Close this bug because the probe data is actually correct, we just need to do some custom analysis.
Description
•