@@ -15,6 +15,7 @@ function runBeaconLoop()
15
15
m .POSITION_TIMER_INTERVAL = 250 '250
16
16
m .SEEK_THRESHOLD = 1250 'ms jump in position before a seek is considered'
17
17
m .HTTP_RETRIES = 10 'number of times to reattempt http call'
18
+ m .MAX_VIDEO_POSITION_JUMP = 2000000000
18
19
19
20
m .pollTimer = CreateObject ("roSGNode " , "Timer" )
20
21
m .pollTimer .id = "pollTimer"
@@ -489,7 +490,9 @@ function muxAnalytics() as Object
489
490
prototype .videoStateChangeHandler = sub (videoState as String )
490
491
m .video_state = videoState
491
492
previouslyLastReportedPosition = m ._Flag_lastReportedPosition
492
- m ._playerPlayheadTime = m .video .position
493
+ if m .video .position < m .MAX_VIDEO_POSITION_JUMP
494
+ m ._playerPlayheadTime = m .video .position
495
+ end if
493
496
m ._Flag_lastReportedPosition = m ._playerPlayheadTime
494
497
495
498
' Need to actually infer seek all the way out here
@@ -1057,7 +1060,9 @@ function muxAnalytics() as Object
1057
1060
if m .video = Invalid then return
1058
1061
if m ._Flag_isPaused = true then return
1059
1062
1060
- m ._playerPlayheadTime = m .video .position
1063
+ if m .video .position < m .MAX_VIDEO_POSITION_JUMP
1064
+ m ._playerPlayheadTime = m .video .position
1065
+ end if
1061
1066
1062
1067
m ._setBufferingMetrics ()
1063
1068
m ._updateContentPlaybackTime ()
0 commit comments