I\'m struggling with precise seeking using MediaExtractor\'s seekTo()
. While I can seek to sync frames without problems, I would like to seek to specific time. This
You don't appear to be pulling buffers from the output side. The MediaCodec decoder doesn't drop frames, so when its internal buffers fill up it will stop handing you input buffers.
You need to drain the decoder by requesting output buffers. When you release the buffer, set the "render" flag to false so it doesn't appear on screen.