Index: tools/metrics/histograms/histograms.xml |
diff --git a/tools/metrics/histograms/histograms.xml b/tools/metrics/histograms/histograms.xml |
index 9cd12ae7cb4aa277d187580ca00b95e3dcc5f82d..4316492c884ff3406b0084cffe23fb685415ceb5 100644 |
--- a/tools/metrics/histograms/histograms.xml |
+++ b/tools/metrics/histograms/histograms.xml |
@@ -23299,6 +23299,26 @@ http://cs/file:chrome/histograms.xml - but prefer this file for new entries. |
</summary> |
</histogram> |
+<histogram name="Media.WatchTime"> |
+ <owner>dalecurtis@chromium.org</owner> |
+ <summary> |
+ Watch time is defined as the amount of elapsed media time for audio+video |
+ media. A minimum of 7 seconds of unmuted, foreground media must be watched |
sandersd (OOO until July 31)
2016/08/09 18:31:20
Add explanation that this is aggregated per player
DaleCurtis
2016/08/12 00:07:02
Done.
|
+ to start watch time monitoring. Watch time is checked on a regular basis |
+ from then on and reported to multiple buckets. |
+ |
+ Any one of paused, hidden, or muted is sufficient to stop watch time metric |
+ reports. Each of these has a hysteresis where if the state change is undone |
+ within some time, the watch time will be counted as uninterrupted. |
+ |
+ Power events (on/off battery power) have a similar hysteresis, but unlike |
+ the aforementioned properties, will not stop metric collection. |
+ |
+ Each seek event will result in a new watch time metric being started and the |
+ old metric finalized as accurately as possible. |
+ </summary> |
+</histogram> |
+ |
<histogram name="Media.WindowsCoreAudioInput" enum="BooleanSuccess"> |
<owner>henrika@chromium.org</owner> |
<summary> |
@@ -98326,6 +98346,24 @@ To add a new entry, add it with any value and run test to compute valid value. |
<affected-histogram name="Media.VideoCaptureManager"/> |
</histogram_suffixes> |
+<histogram_suffixes name="MediaWatchTimeCategories" separator="."> |
+ <suffix name="AudioVideo.All" |
+ label="Watch time for all media with both an audio and video track."/> |
+ <suffix name="AudioVideo.AC" |
+ label="Watch time for all media with both an audio and video track on |
+ AC power."/> |
+ <suffix name="AudioVideo.Battery" |
+ label="Watch time for all media with both an audio and video track on |
+ battery power."/> |
+ <suffix name="AudioVideo.MSE" |
+ label="Watch time for MSE media with both an audio and video track."/> |
+ <suffix name="AudioVideo.SRC" |
+ label="Watch time for SRC media with both an audio and video track."/> |
+ <suffix name="AudioVideo.EME" |
+ label="Watch time for EME media with both an audio and video track."/> |
+ <affected-histogram name="Media.WatchTime"/> |
+</histogram_suffixes> |
+ |
<histogram_suffixes name="MobileDownloadBytesDownloadedTypes" separator="."> |
<suffix name="ChromeNetworkStack.Failure"/> |
<suffix name="ChromeNetworkStack.Success"/> |