Description[Cast] Track audio queued in encoder; account for it in ShouldDropNextFrame().
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
Committed: https://crrev.com/182520b878bee21aad3500391cd51d486e37bf1e
Cr-Commit-Position: refs/heads/master@{#293987}
Patch Set 1 #
Total comments: 4
Patch Set 2 : rebase + MERGE (post-hubbe's refactoring changes) #
Messages
Total messages: 11 (4 generated)
|