Skip to content

Commit

Permalink
Fixed stablebuffer calculation in low latency mode (#3039)
Browse files Browse the repository at this point in the history
  • Loading branch information
VasylS authored and epiclabsDASH committed Aug 9, 2019
1 parent 1cc9d80 commit 9291d30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/streaming/models/MediaPlayerModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function MediaPlayerModel() {

function getStableBufferTime() {
if (settings.get().streaming.lowLatencyEnabled) {
return settings.get().streaming.liveDelay * 0.6;
return getLiveDelay() * 0.6;
}

const stableBufferTime = settings.get().streaming.stableBufferTime;
Expand Down

0 comments on commit 9291d30

Please sign in to comment.