• Stefy Lanza (nextime / spora )'s avatar
    Implement Video Phase State Machine for HLS synchronization · d7d1b0a7
    Stefy Lanza (nextime / spora ) authored
    - Add video phase tracking in RTSPStreamer (idle, intro, match, result)
    - Implement HLS delay compensation for overlay template synchronization
    - Fix results template not showing after match video ends
    - Add phase transition handling with configurable delay compensation
    - Update overlay API endpoint to include video phase state
    - Add phaseTransitionTimer for delayed template changes
    
    This ensures overlay templates are synchronized with HLS video playback
    by compensating for FFmpeg encoding and web player buffering delays.
    d7d1b0a7
overlay-controller.js 45.6 KB