Skip to content

Commit

Permalink
Clean the buffer after audio track selecting
Browse files Browse the repository at this point in the history
  • Loading branch information
comrat committed Jan 27, 2024
1 parent 39a28c7 commit 2d97397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platform/video.shaka/backend.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ Player.prototype.setAudioTrack = function(trackId) {
streaming: { bufferingGoal : 15, rebufferingGoal: 4 }
});
this._language = found[0].language
this.shakaPlayer.selectVariantTrack(video)
this.shakaPlayer.selectVariantTrack(video, true)
}
}

Expand Down

0 comments on commit 2d97397

Please sign in to comment.