• Eugene Zemtsov's avatar
    Implementation of VideoPlaybackRoughnessReporter · bea39391
    Eugene Zemtsov authored
    VideoPlaybackRoughnessReporter tracks moments when each frame was
    submitted and when it was displayed. Then series of frames are
    split into groups of consecutive frames, where each group takes
    about 1/2 second of palyback.
    
    Such groups are also called 'frame windows'. Each windows is
    assigned a roughness score that measures how far playback
    smoothness was from the ideal playback.
    Information about several windows and their roughness score is
    aggregated for a couple of playback minutes and then a window with
    95-percentile-max-roughness is reported via the provided callback.
    
    Currently roughness is not reported via any server side metrics.
    Integration with UMA and UKM coming soon.
    
    Bug: 1042111
    Change-Id: I5a12e400f00f91fc0b63d15e88bca5c0ab09d5f2
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2097951
    Commit-Queue: Eugene Zemtsov <eugene@chromium.org>
    Reviewed-by: default avatarDavid Bokan <bokan@chromium.org>
    Reviewed-by: default avatarFrank Liberato <liberato@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#750823}
    bea39391
BUILD.gn 31.1 KB