Skip to content

feat(signaling): add graceful shutdown support - #531

Open
jbrough wants to merge 3 commits into
johanhelsing:mainfrom
wavey-ai:feat/graceful-shutdown
Open

feat(signaling): add graceful shutdown support#531
jbrough wants to merge 3 commits into
johanhelsing:mainfrom
wavey-ai:feat/graceful-shutdown

Conversation

@jbrough

@jbrough jbrough commented Jan 3, 2026

Copy link
Copy Markdown

Add with_shutdown(oneshot::Receiver) method to SignalingServerBuilder that enables graceful shutdown of the signaling server via a channel.

Add with_shutdown(oneshot::Receiver) method to SignalingServerBuilder
that enables graceful shutdown of the signaling server via a channel.
- Add high_throughput() builder method to WebRtcSocketBuilder
- Configure SettingEngine with larger SCTP message size (256KB)
- Increase receive MTU to 16384 for better throughput
- Update Messenger trait to pass high_throughput flag through handshakes

This optimizes WebRTC Data Channels for bulk file transfer scenarios
where latency is less important than throughput.
Changes Packet type alias from Box<[u8]> to bytes::Bytes to reduce
memory copies when broadcasting messages to multiple peers.
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.

1 participant