Skip to content

fix audio buffer target when videoTrackPresent

Vinay Rosenberg requested to merge github/fork/spiterikevin/1901 into development

Created by: spiterikevin

At the end of a stream, the videoBufferLevel is less than 1. If the fragmentDuration is less than 1, then floor(max(videoBufferLevel, fragmentDuration)) is 0 and the audio buffer target is set to 0. That causes the video to not play through to the end #1901 (closed).

Merge request reports