Skip to content

Commit 65376f6

Browse files
committed
Fix: buffer level reporting as 0 when text track disabled
1 parent 26cba09 commit 65376f6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/streaming/controllers/BufferController.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -748,9 +748,8 @@ function BufferController(config) {
748748
return null;
749749
}
750750

751-
752751
function _onPlaybackProgression() {
753-
if (!replacingBuffer || (type === Constants.TEXT && textController.isTextEnabled())) {
752+
if (!replacingBuffer && (type === Constants.TEXT && textController.isTextEnabled())) {
754753
_updateBufferLevel();
755754
}
756755
}

0 commit comments

Comments
 (0)