Skip to content

Conversation

@SuryaGanesh284
Copy link
Contributor

This pull request adds initial support for protocol versioning and configurable encryption strategies to BroadcastService.

What was added
Added protocolVersion_ and encryptionStrategies_ internal fields with default values.
Allowed overriding these values through configuration (config.protocolVersion and config.encryptionStrategies).
Passed the protocol version and encryption strategy options to both CLink and SLink.
Added inline comments explaining the use of protocol versioning and encryption configuration.

Why this is useful
Prepares the broadcast system for future protocol upgrades.
Allows Puter instances to share protocol metadata through connection links.
Establishes a clean path for implementing stronger encryption or backward-compatible protocol changes.
Fully backward-compatible and does not affect existing behavior.

Compatibility
No breaking changes.
Extra fields passed to links are optional and safely ignored if unused.

@CLAassistant
Copy link

CLAassistant commented Nov 23, 2025

CLA assistant check
All committers have signed the CLA.

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