• miu's avatar
    [Cast] Track audio queued in encoder; account for it in ShouldDropNextFrame(). · 182520b8
    miu authored
    This change is a prerequisite for transitioning the "max outstanding
    frames" decision logic over to a time-based heuristic.  It adds tracking
    of the number of audio samples enqueued in the encoder, from which the
    needed backlog stats can be determined.
    
    Also, this introduces an abstract method in FrameSender,
    GetNumberOfFramesInEncoder(), since this is computed differently for
    audio versus video.
    
    BUG=404813
    
    Review URL: https://codereview.chromium.org/545593002
    
    Cr-Commit-Position: refs/heads/master@{#293987}
    182520b8
video_sender.h 3.14 KB