Skip to content

Vision mixer events carry no time, and a transition's start is only logged #992

Open

Description

@wagenet

Opened by Claude (AI) on behalf of @wagenet.

None of the vision mixer events carries a time: TransitionTriggered, VisionMixerStateChanged, VisionMixerDskChanged and VisionMixerFtbChanged (types/src/events.rs:249, 350, 364, 380). /api/ws sends each event bare, with no envelope (websocket.rs:209).

The start Strom chooses for a transition is the mixer's stream position. It appears only in an info! line (transitions/controller.rs:64).

Ask:

  • On TransitionTriggered and VisionMixerFtbChanged, add the stream time the keyframes start at, for example start_stream_time_ns.
  • On each vision mixer event, add the system wall-clock time it was applied, for example applied_at_ms.

Mapping stream time to wall clock is #690.

Why: a client today dates a take from the controller that asked for it, one HTTP request before Strom acts, with no way to measure the gap.

Checked at af35c47.

Activity

  1. srperens commented on Oct 19, 2026

    @srperens
    Collaborator

    Area: Vision mixer events, timing and wall-clock correlation

    About: Takes, FTB, DSK and preview events carry no time. The stream time a transition's keyframes start at appears only in a log line. A client cannot tell when Strom acted, only when it asked. Still true on main after #803 merged.

    Relates to: #690 (the underlying gap: no atomic mapping from running time to wall clock). #1103 (under the default clock, stream time has no meaning off the machine). #1057 (adds the same pair of fields to RecorderFileChanged; sets naming). #993 (same event family; a new PiP event should carry the same fields). #918 (a client judging a take by reply timing). Merged #803 (take reporting on the same path; added no time).

    Thoughts: Adding fields to existing StromEvent variants touches the WebSocket contract. Settling one time convention with #1057, #690 and #1103 avoids each event family inventing its own.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions