Skip to content

Commit 820b283

Browse files
committed
Audio or Video PendingIndex (downloading Index) has to be updated only when a QUALITY_CHANGE_REQUESTED event occurs
1 parent 52fe374 commit 820b283

File tree

1 file changed

+0
-1
lines changed
  • samples/dash-if-reference-player/app

1 file changed

+0
-1
lines changed

samples/dash-if-reference-player/app/main.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,6 @@ app.controller('DashController', function ($scope, sources, contributors, dashif
329329

330330
$scope.player.on(dashjs.MediaPlayer.events.QUALITY_CHANGE_RENDERED, function (e) { /* jshint ignore:line */
331331
$scope[e.mediaType + 'Index'] = e.newQuality + 1;
332-
$scope[e.mediaType + 'PendingIndex'] = e.newQuality + 1;
333332
$scope.plotPoint('index', e.mediaType, e.newQuality + 1, getTimeForPlot());
334333
$scope.safeApply();
335334
}, $scope);

0 commit comments

Comments
 (0)