Skip to content

Commit

Permalink
Improve comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
tsadler1988 committed Jun 29, 2017
1 parent a2fb309 commit cc2414c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion static/script/devices/mediaplayer/samsung_streaming.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ require.def(
this._postBufferingState = MediaPlayer.STATE.PLAYING;
var seekingTo = this.getSeekableRange() ? this._getClampedTimeForPlayFrom(seconds) : seconds;

//StartPlayback from live position 0 causes spoiler defect
//StartPlayback from near start of range causes spoiler defect
if (seekingTo < this.CLAMP_OFFSET_FROM_START_OF_RANGE && this._isLiveMedia()) {
seekingTo = this.CLAMP_OFFSET_FROM_START_OF_RANGE;
} else {
Expand Down Expand Up @@ -583,6 +583,7 @@ require.def(
break;

case self.PlayerEventCodes.BUFFERING_COMPLETE:
// For live HLS, don't update the range more than once every 8 seconds
if (!self._updatingTime) {
self._updateRange();
}
Expand Down

0 comments on commit cc2414c

Please sign in to comment.