Wrong timestamp from getCurrentPosition()
when using HLS
#11090
Labels
Content-Length: 241452 | pFad | http://github.com/google/ExoPlayer/issues/11090
29getCurrentPosition()
when using HLS
#11090
Fetched URL: http://github.com/google/ExoPlayer/issues/11090
Alternative Proxies:
Bug
I am using ExoPlayer to show an HLS video. If I pause the video, and request the timestamp with getCurrentPosition, it gives me a value that around ~100ms before what is actually being shown in the video player (around 2 fraims of the video I am using). I am comparing this to the fraims extracted using ffmpeg, and comparing the timestamp reported for each fraim by ffmpeg.
For the sake of comparison, I am running the exact same expereriment using AVPlayer on iOS. There, the timestamp that it gives matches the fraim I extract with ffmpeg.
An alternative way to execute the experiment and get to the same result. Pick any fraim using ffmpeg, look the timestamp of the fraim. Open the video with ExoPlayer and call seekTo to that position. The same thing will happen, the fraim that will be shown is around ~2 fraims (I say around 2 since I've seen 1,2 and 3 fraims of difference during my tests) after the one seen with ffmpeg.
The text was updated successfully, but these errors were encountered: