Skip to content

Gate binary data on the role's client/state object - #204

Merged
maximmaxim345 merged 1 commit into
mainfrom
docs/binary-data-gate-role-object
Sep 2, 2026
Merged

Gate binary data on the role's client/state object#204
maximmaxim345 merged 1 commit into
mainfrom
docs/binary-data-gate-role-object

Conversation

@maximmaxim345

Copy link
Copy Markdown
Member

Since role objects became optional per client/state message, a client can satisfy "has sent its initial client/state" with available alone and deliver the player object later on activation. The binary-data gate in messaging.md therefore opened before the server knew output_delay_ms, required_lead_time_ms, or min_buffer_ms.

The gate now requires the role's client/state object before that role's binary data. All built-in roles that receive binary data define one, so only application-specific roles without a state object fall back to the initial client/state. This matches the stream/start rule that waits for the activation update before starting a role's stream.

@kahrendt kahrendt left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@maximmaxim345
maximmaxim345 merged commit 18f92d3 into main Sep 2, 2026
1 check passed
@maximmaxim345
maximmaxim345 deleted the docs/binary-data-gate-role-object branch September 2, 2026 15:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants