Skip to content

feat: add data-channel-with-video example and integration test#787

Open
nightness wants to merge 2 commits intowebrtc-rs:masterfrom
Brainwires:feat/datachannel-video
Open

feat: add data-channel-with-video example and integration test#787
nightness wants to merge 2 commits intowebrtc-rs:masterfrom
Brainwires:feat/datachannel-video

Conversation

@nightness
Copy link
Copy Markdown

@nightness nightness commented Apr 1, 2026

Summary

  • Example (examples/data-channel-with-video/data-channel-with-video.rs): demonstrates a PeerConnection with both a DataChannel and a video track active simultaneously
  • Integration test (tests/datachannel_video_interop.rs): validates that DataChannel messages and video frames can be sent/received concurrently on the same connection without interference
  • Cargo.toml: registers the new example

Test plan

  • cargo build --example data-channel-with-video
  • cargo test datachannel_video_interop

🤖 Generated with Claude Code

- feat: add data-channel-with-video example demonstrating simultaneous DataChannel and video track on a single PeerConnection
- test: add DataChannel + Video transceiver integration test validating both channels work concurrently

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nightness nightness force-pushed the feat/datachannel-video branch from 91e954f to 03d9580 Compare April 1, 2026 16:48
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@nightness nightness changed the title test: verify DataChannel + Video transceiver on the same PeerConnection (#784) feat: add data-channel-with-video example and integration test Apr 1, 2026
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