Browse Source

Fix typo

pull/1821/head
Gabe Kangas 3 years ago committed by GitHub
parent
commit
cbbf2970c1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      webroot/js/components/latencyCompensator.js
  2. 2
      webroot/js/metrics/playback.js

2
webroot/js/components/latencyCompensator.js

@ -402,7 +402,7 @@ function getCurrentlyPlayingSegment(tech) { @@ -402,7 +402,7 @@ function getCurrentlyPlayingSegment(tech) {
var segment;
// Itinerate trough available segments and get first within which snapshot_time is
// Iterate trough available segments and get first within which snapshot_time is
for (var i = 0, l = target_media.segments.length; i < l; i++) {
// Note: segment.end may be undefined or is not properly set
if (snapshot_time < target_media.segments[i].end) {

2
webroot/js/metrics/playback.js

@ -253,7 +253,7 @@ function getCurrentlyPlayingSegment(tech, old_segment = null) { @@ -253,7 +253,7 @@ function getCurrentlyPlayingSegment(tech, old_segment = null) {
var segment;
var segment_time;
// Itinerate trough available segments and get first within which snapshot_time is
// Iterate trough available segments and get first within which snapshot_time is
for (var i = 0, l = target_media.segments.length; i < l; i++) {
// Note: segment.end may be undefined or is not properly set
if (snapshot_time < target_media.segments[i].end) {

Loading…
Cancel
Save