Skip to content

Define how an in-place stream/start treats buffered visualizer data #306

Closed

Description

@kahrendt

messaging.md ("Server → Client: stream/start") leaves it to each role to define how data received under the previous configuration is handled. The player role does (#283); roles/visualizer/v1.md doesn't.

The role's other rules assume the client keeps the data:

Implementations differ:

  • sendspin-server and aiosendspin keep counting the old frames and send new ones after them.
  • sendspin-cpp drops all buffered frames on any visualizer stream/start, so it shows nothing until the first new-config frame. That gap can be the full buffered horizon.

Suggestion: match the player. In "stream/start visualizer object":

When the visualizer object updates an active stream, frames sent before this message use the previous configuration and frames sent after it use the new configuration. Clients MUST keep buffered frames and interpret each frame under the configuration in effect when it was received.

In the support object, after the reset sentence, add: "An in-place stream/start does not."

Activity

  1. added a commit that references this issue on Nov 19, 2026
    974e1bf
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