Frame Accuracy Mode
You can enable Frame Accuracy Mode by setting the corresponding property to true.
What Is Frame Accuracy Mode?
When Frame Accuracy Mode is active, the video rendering engine operates in a more precise and controlled manner, with specific behaviors optimized for frame-accurate playback:
-
✅ Frame callback timing:
Frame callbacks are scheduled based on their exact presentation timestamps.
The rendering system typically holds only one pending frame in its queue, with aTimeToRenderof approximately 30–50 ms. -
✅ Accurate seeking:
When performing a seek operation, all frames from the nearest previous keyframe up to the requested position are decoded. This ensures frame-accurate positioning. -
✅ Precise step-back functionality:
A buffer of previously rendered frames is maintained, allowing accurate and immediate reverse stepping. -
✅ Reverse playback (if supported):
A queue of previous frames is preserved to enable smooth backward playback.
Note:
In Frame Accuracy Mode, theTimeToRenderis always maintained between 30–50 ms.