Skip to content

Update common earliest time management

Created by: nicosang

Hi,

this PR has to solve issue #3146 (closed). The idea is to reset commonEarliestTime only when needed. It means only when the value of commonEarliestTime was in the cleared range. Before this PR, commonEarliestTime was reseted each time the user did a seek command. The problem is that if there is a discontinuity in video buffer, and audio buffer is not fully cleared no new audio media segment is pushed (see BufferLevelRule) : commonEarliestTime, in this case, for audio is never updated, internal seek not done, the stream don't start.

In the sample stream of this issue, audio really starts at 0, but video starts at 1.782s....

@tomraut, could you, please, take a look?

Nico

Merge request reports