Add telemetry for WebRTC video codecs used in calls
Categories
(Core :: WebRTC: Audio/Video, enhancement, P2)
Tracking
()
People
(Reporter: dminor, Assigned: dminor)
Details
Attachments
(2 files)
2.97 KB,
text/plain
|
chutten
:
data-review+
|
Details |
47 bytes,
text/x-phabricator-request
|
RyanVM
:
approval-mozilla-beta+
|
Details | Review |
We would like to collect telemetry on how frequently a particular codec type is being used in calls, e.g. how many calls are VP8 vs. VP9 vs. H.264. It would also be useful to collect telemetry on audio codec usage.
Assignee | ||
Comment 1•6 years ago
|
||
From discussion with :drno, knowing video codec usage is the highest priority, so we won't worry about audio right now.
Assignee | ||
Comment 2•6 years ago
|
||
Comment 3•6 years ago
|
||
Assignee | ||
Comment 4•6 years ago
|
||
This adds a categorical histogram for the codecs used when receiving and
sending video in a WebRTC call.
Assignee | ||
Comment 5•6 years ago
|
||
(In reply to Chris H-C :chutten from comment #3)
Comment on attachment 9069938 [details]
video-codec-use-request.txtCan you please expand upon what form this data collection will take? Will it
be in Telemetry (and thus have expiry and documentation and user opt-out
taken care of for you?), how wide is the domain that it covers (can codecs
be arbitrary strings, or chosen from a predetermined list), and so forth?
Yes it will be in Telemetry. Codecs can be arbitrary strings, but we expect to see the values in this list [1]. The only expected values here are VP8, VP9 and H264, but seeing other values here would help us detect bugs in our signaling code. If it seems like we are gathering too much data, I'd be happy to make this a categorical with just VP8, VP9, H264, and Unknown.
Maybe it would be best to delay this review until the patch containing the
collection is up for code review.
Patch is up for review. Sorry, it seemed to me from the Telemetry documentation that one should ask for a data review prior to putting the patch up for review. Thanks for having a look!
Assignee | ||
Updated•6 years ago
|
Comment 6•6 years ago
|
||
Comment 7•6 years ago
|
||
Categorical would of course be preferable (fewer chances for strings to mess with us). Whether it's keyed uint scalar or categorical histogram doesn't change the intent of the collection so I proceeded with the data review.
Comment 9•6 years ago
|
||
bugherder |
Assignee | ||
Comment 10•6 years ago
|
||
Comment on attachment 9070061 [details]
Bug 1556766 - Add telemetry for WebRTC video codecs used in calls; r=chutten
Beta/Release Uplift Approval Request
- User impact if declined: We will use this data in the short term to prioritize ongoing work on media codecs. Without data from Beta, we won't have a large enough user base to make meaningful decisions.
- Is this code covered by automated tests?: No
- Has the fix been verified in Nightly?: No
- Needs manual test from QE?: No
- If yes, steps to reproduce:
- List of other uplifts needed: None
- Risk to taking this patch: Low
- Why is the change risky/not risky? (and alternatives if risky): Low risk, this only adds two telemetry probes.
- String changes made/needed: None
Comment 11•6 years ago
|
||
Comment on attachment 9070061 [details]
Bug 1556766 - Add telemetry for WebRTC video codecs used in calls; r=chutten
Needed to better understand WebRTC video codec usage on Fennec. Approved for Beta. Let's get this uplifted ASAP so we start getting Nightly & Beta Fennec telemetry results.
Comment 12•6 years ago
|
||
uplift |
Description
•