|
|
|
@ -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) { |
|
|
|
|