Skip to content

Commit

Permalink
Increased the buffering threshold to prevent that damn buzzing noise.
Browse files Browse the repository at this point in the history
  • Loading branch information
elsbree committed Apr 15, 2014
1 parent 308650c commit 5022592
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sdk/js/player.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,8 @@ define(['jquery', 'vendor/simple-slider', 'underscore', 'vendor/sc-interface', '
var container = $(dom);
var currentRatio = null;
var currentTimeIn = null;
var bufferPauseThreshold = 3000; // If the track plays within this many milliseconds of the buffer edge, pause and wait.
var bufferResumeThreshold = 6000; // Once the buffer is this var past the play progress, it will resume.
var bufferPauseThreshold = 5000; // If the track plays within this many milliseconds of the buffer edge, pause and wait.
var bufferResumeThreshold = 10000; // Once the buffer is this var past the play progress, it will resume.
var trackLoadedPercent = null;
var trackLoadedTime = null;
var trackPlayedPercent = null;
Expand Down
Loading

0 comments on commit 5022592

Please sign in to comment.