#11261·ExoPlayer

I want to how to find the keyframe postion when seek in ts.

Author: lsgflyCreated Aug 12, 2023Updated Jun 14, 2026
Labelsquestionneeds triage

when we seek to 10s, the keyframe is 9s. we can find the the position of 10s by BinarySearchSeeker handlePendingSeek. how to find the position of 9s. I cannot find the logic implementation in code. Can you provide some guidance.