Commit Graph

1 Commits

Author SHA1 Message Date
Thomas Hallock 371b449d15 feat(vision): implement per-problem video recording for teacher playback
Add server-side per-problem video recording that allows teachers to click
on completed problems in the observer progress indicator to watch recorded
videos of each problem attempt.

Key changes:
- New vision_problem_videos schema and migration for per-problem videos
- VisionRecorder refactored for per-problem frame management
- Socket server triggers ffmpeg encoding on problem transitions
- API routes for streaming videos and listing available recordings
- SessionObserverModal enables browse mode on progress indicator
- ProblemVideoPlayer component for viewing past problem recordings

Each problem gets its own MP4 video encoded incrementally as it completes,
making playback immediately available for recently completed problems.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-13 18:21:54 -06:00