forked from youtube/cobalt
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create MicCreationSuccessful UMA histogram
Adds a boolean enum histogram to track the frequency at which mic usage is successful. When mic input is requested in mediaDevices.getUserMedia(), either a success or failure callback is run depending on whether a mic was able to be opened. This histogram logs a success or failure item in each callback. See http://go/cobalt-mic-uma-histogram for additional details. b/306441161
- Loading branch information
1 parent
72a37d5
commit dc19e59
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -151,6 +151,19 @@ Always run the pretty print utility on this file after editing: | |
</summary> | ||
</histogram> | ||
|
||
<histogram name="Cobalt.MediaDevices.MicCreationSucceeded" enum="Boolean" | ||
expires_after="never"> | ||
<!-- expires-never: Needed for long-term tracking of device mic support. --> | ||
|
||
<owner>[email protected]</owner> | ||
<owner>[email protected]</owner> | ||
<owner>[email protected]</owner> | ||
<summary> | ||
A boolean representing the success or failure of an attempted mic creation | ||
event via mediaDevices.getUserMedia(). | ||
</summary> | ||
</histogram> | ||
|
||
</histograms> | ||
|
||
</histogram-configuration> |