[Bug]: Windows editor preview can drift slightly from audio after the long-recording sync fix
Description
Follow-up to #252 / #340. The original Windows long-recording audio-gap bug is significantly improved on current main, but a smaller editor-preview audio/video drift still remained in the editor.
Motivation
Further reproduction showed the remaining drift is visible even without webcam enabled, which points at the editor preview timing path rather than the recording or mux path. Webcam preview can still make the offset easier to notice, and the unified preview path also needs to preserve any stored webcam preview offset.
Current signal
- Windows editor preview path
- the original delayed-start / silence-at-start symptom from
#252is no longer the main failure mode - the remaining symptom is a smaller preview-specific audio/video drift, sometimes easier to spot on webcam lip movement
- latest local retests on the candidate patch show the preview sync is significantly improved both without webcam and with webcam enabled
Candidate fix
- #346
Opened #346 for the editor preview path.
Local retests on that branch show the preview sync is significantly improved both without webcam and with webcam enabled. I am keeping this issue open until the PR lands so we have one place for any remaining Windows retest notes.
Closing this as addressed by #346, now on main.
This change aligns the editor preview with the video frame Chromium actually presented and preserves the stored webcam preview offset on the unified preview path. Local retests showed the preview sync is significantly improved both without webcam and with webcam enabled.
If anyone still reproduces a meaningful preview-only audio/video drift on the latest main, please comment here with whether it is visible without webcam, with webcam, or only after export and we can reopen with that narrower signal.