Skip to content

Conversation

@achingbrain
Copy link
Member

@achingbrain achingbrain commented Sep 26, 2025

Chrome can receive data before a datachannel is open, and receive datachannels before a peer connection is open so handle that.

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation if necessary (this includes comments as well)
  • I have added tests that prove my fix is effective or that my feature works

Instead of buffering any sent data, just make the user wait for the
channel to open
@achingbrain achingbrain requested a review from a team as a code owner September 26, 2025 15:36
@achingbrain achingbrain changed the title fix: wait for datachannel to open before returning it fix: capture early datachannels Sep 27, 2025
@achingbrain achingbrain merged commit 8d66d5f into main Sep 27, 2025
38 of 51 checks passed
@achingbrain achingbrain deleted the fix/wait-for-channel-open branch September 27, 2025 06:10
@achingbrain achingbrain mentioned this pull request Sep 27, 2025
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