-
Notifications
You must be signed in to change notification settings - Fork 121
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Refer to the original PR: #1890 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 (cherry picked from commit dc19e59)
- Loading branch information
1 parent
672ce80
commit 06571e0
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> |