• phoglund's avatar
    Try switching black frame algorithm to a luma-based algorithm. · 859d9a26
    phoglund authored
    Sheriffs: if WebRtcBrowserTest.CanSetupVideoCallAndDisableLocalVideo
    flakes, revert this patch. It shouldn't flake after this fix.
    
    Instead of looking at color values of individual pixels, see if we can
    get more reliable results by looking at luma values instead. This way
    we can detect black frames more reliably in the tests.
    
    This is a partial re-land of codereview.chromium.org/1108803002.
    
    This is essentially the black frame algorithm used in testrtc.
    
    BUG=477498
    
    Review URL: https://codereview.chromium.org/1132333006
    
    Cr-Commit-Position: refs/heads/master@{#330539}
    859d9a26
webrtc_browsertest.cc 16.9 KB