mm-dash: rendering delay for live when high DPB
When dpb size is high and live stream use case introduce
a start up delay in rendering. Handles freezes for dash
embms for streams with typically high Level and low
resolution combination where computed DBP capacity by
decoder comes out high
Freezes happen when decoder holds on to output buffers
when #queuedBuffers falls below #dbpSize. Can happen at
boundary of current segment when all its samples are
provided and decoder is running dry since next segment
download is not yet complete this being live stream.
When dpb is high the number of these held output buffers
which are released late is high. AV sync drops these late
video frames leading to visible freezes
Check for high dpb and introduce start up delay to push
ahead the rendering cycle times to avoid the freezes.
Also check for audio timestamp jumps which indicate 404s
and queue delay in rendering while in middle playback
Change-Id: I37ca1b69044990cd2428acef06aeec08998d030c
6 files changed