You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run player.seek(player.duration()) in the console.
Observed behavior
The player is still in a waiting state, and no seek has been performed
Console output
player.seek(player.duration())
Debug.js:169 [990604][PlaybackController] Requesting seek to time: 734.16
undefined
Debug.js:169 [990605][PlaybackController] Seeking to: 734.16
Debug.js:169 [990608][PlaybackController] Native video element event: waiting
Debug.js:169 [990619][AbrController] [video] switching from buffer occupancy to throughput ABR rule (buffer: 0.000).
Debug.js:169 [990621][AbrController] [audio] switching from buffer occupancy to throughput ABR rule (buffer: 0.000).
Debug.js:169 [990629][StreamProcessor][video] OnFragmentLoadingCompleted for stream id p0 and media type video - Url: http://refapp.hbbtv.org/videos/tears_of_steel_1080p_25f75g6sv3/v3_i.mp4
Debug.js:169 [990631][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id p0 and media type audio - Url: http://refapp.hbbtv.org/videos/tears_of_steel_1080p_25f75g6sv3/a1_i.mp4
Debug.js:169 [990632][StreamProcessor][video] [video] lastInitializedRepresentationInfo changed to 2
Debug.js:169 [990633][StreamProcessor][audio] [audio] lastInitializedRepresentationInfo changed to 0
We have this issue with all dash streams with SegmentTimeline
##### Expected behavior
The seek must be completed, and the playback must end
The text was updated successfully, but these errors were encountered:
As a consequence, dash.js does not find a valid segment to fetch for duration() which is equal to 734.16.
However, the same behavior can be observed if the signaled duration matches the duration of the period. The last segment is not fetched for SegmentTimelinemanifests. This is related to TimelineSegmentsGetter:
if (scaledMediaTime < (time + frag.d) && scaledMediaTime >= time)
This probably needs to be:
if (scaledMediaTime <= (time + frag.d) && scaledMediaTime >= time)
@harshasastry This is not fixed yet, I am still thinking about the best way to solve such issues. As mentioned before, this is not just a player issue, but your content also seems to have a pdDelta.
Environment
Steps to reproduce
Observed behavior
The player is still in a waiting state, and no seek has been performed
Console output
player.seek(player.duration())
Debug.js:169 [990604][PlaybackController] Requesting seek to time: 734.16
undefined
Debug.js:169 [990605][PlaybackController] Seeking to: 734.16
Debug.js:169 [990608][PlaybackController] Native video element event: waiting
Debug.js:169 [990619][AbrController] [video] switching from buffer occupancy to throughput ABR rule (buffer: 0.000).
Debug.js:169 [990621][AbrController] [audio] switching from buffer occupancy to throughput ABR rule (buffer: 0.000).
Debug.js:169 [990629][StreamProcessor][video] OnFragmentLoadingCompleted for stream id p0 and media type video - Url: http://refapp.hbbtv.org/videos/tears_of_steel_1080p_25f75g6sv3/v3_i.mp4
Debug.js:169 [990631][StreamProcessor][audio] OnFragmentLoadingCompleted for stream id p0 and media type audio - Url: http://refapp.hbbtv.org/videos/tears_of_steel_1080p_25f75g6sv3/a1_i.mp4
Debug.js:169 [990632][StreamProcessor][video] [video] lastInitializedRepresentationInfo changed to 2
Debug.js:169 [990633][StreamProcessor][audio] [audio] lastInitializedRepresentationInfo changed to 0
The text was updated successfully, but these errors were encountered: