DescriptionDetermine the audible state in MediaSourcePlayer
We set the audible state every time after the pipeline
has successfully decoded the frame: to false if prerolling
and true otherwise, taking the volume into account.
Also, we set the state to false if the flow is going to be
interrupted because of a coded error, abort or Pause.
As well, we set audible state to false when the starvation
happens and there is no data in the MediaDecoderJob queue,
we believe this indicates the demuxer freeze.
BUG=414810
Committed: https://crrev.com/2284586bd2d49cacd18c16bfe60fcb519c80b045
Cr-Commit-Position: refs/heads/master@{#322102}
Patch Set 1 #Patch Set 2 : Added unit test #
Total comments: 2
Patch Set 3 : Use starvation timer for renderer freeze detection #
Total comments: 8
Patch Set 4 : Minor fixes #
Messages
Total messages: 19 (3 generated)
|