Expand description
Video seek strategy decision logic.
This is pure logic, extracted from the command layer so it can be unit-tested
in the player core. The player_seek_video command translates the resulting
VideoSeekStrategy into a concrete backend/frontend action.
Enums§
- Skip
Action - What a lockscreen skip button means for the playback that is actually running.
- Video
Seek Strategy - Seek strategy for video playback, derived from a stream’s characteristics.
Constants§
- SKIP_
BACK_ SECONDS - How far a lockscreen skip-back jumps while background audio owns playback.
- SKIP_
FORWARD_ SECONDS - How far a lockscreen skip-forward jumps while background audio owns playback.
Functions§
- determine_
video_ seek_ strategy - Determine the video seek strategy based on stream characteristics.
- resolve_
skip_ action - Decide whether a lockscreen skip advances the queue or scrubs the current item.