Describe the bug
On an HLS EVENT playlist without #EXT-X-ENDLIST, calling seekTo(0) initially triggers onSeek(0), but playback then jumps to the live edge.
Calling seekTo(0.5) works correctly. The issue reproduces on both Android and iOS in the official example app.
The test source was obtained from the official Amazon IVS DVR demo:
https://dvr.ivsdemos.com/
Other player handles seekTo(0) correctly with the same source.
To reproduce
Obtain an HLS EVENT playlist from the official Amazon IVS DVR demo:
https://dvr.ivsdemos.com/
Run the official amazon-ivs-react-native-player example app using that playlist.
Start playback.
Call mediaPlayerRef.current?.seekTo(0).
Observe that onSeek reports 0, but playback jumps to the live edge.
Call mediaPlayerRef.current?.seekTo(0.5).
Observe that playback continues correctly from 0.5 seconds.
Expected behavior
seekTo(0) should play from the beginning instead of jumping to the live edge.
Screenshots
ivs-error-reproduct-github.mp4
Device (please complete the following information):
Debug logs
seekTo(0)
onSeek: 0
state: Playing
progress: live edge
seekTo(0.5)
onSeek: 0.5
state: Playing
progress: approximately 0.5
Describe the bug
On an HLS EVENT playlist without
#EXT-X-ENDLIST, callingseekTo(0)initially triggersonSeek(0), but playback then jumps to the live edge.Calling
seekTo(0.5)works correctly. The issue reproduces on both Android and iOS in the official example app.The test source was obtained from the official Amazon IVS DVR demo:
https://dvr.ivsdemos.com/
Other player handles
seekTo(0)correctly with the same source.To reproduce
https://dvr.ivsdemos.com/
amazon-ivs-react-native-playerexample app using that playlist.mediaPlayerRef.current?.seekTo(0).onSeekreports0, but playback jumps to the live edge.mediaPlayerRef.current?.seekTo(0.5).Expected behavior
seekTo(0)should play from the beginning instead of jumping to the live edge.Screenshots
ivs-error-reproduct-github.mp4
Device (please complete the following information):
Debug logs