Skip to content

Introduce the ParticipantActive event#780

Closed
ladvoc wants to merge 4 commits into
mainfrom
ladvoc/participant-state
Closed

Introduce the ParticipantActive event#780
ladvoc wants to merge 4 commits into
mainfrom
ladvoc/participant-state

Conversation

@ladvoc

@ladvoc ladvoc commented Nov 8, 2025

Copy link
Copy Markdown
Contributor

Summary of changes:

  • Adds RoomEvent::ParticipantActive
  • Exposes participant state

Going forward, users who are publishing data in response to participants joining should respond to the new ParticipantActive event rather than the existing ParticipantConnected event. Note that "publishing data" in this context includes any of the following:

  • Invoking RPC methods on remote participants
  • Opening data streams (text or byte)
  • Publishing user packets

This addresses the potential race condition that can occur when participant A publishes data in response to participant B joining. Previously, it was determined the E2E DC reliability improvements in #688 were sufficient to address this condition. However, testing reveals when participant A sends large data payloads in response to many participants joining, the SFU cache can become saturated, leading to dropped packets.

@ladvoc
ladvoc requested a review from xianshijing-lk March 28, 2026 00:12
@ladvoc
ladvoc marked this pull request as ready for review March 28, 2026 00:12
@ladvoc

ladvoc commented Mar 29, 2026

Copy link
Copy Markdown
Contributor Author

Closing in favor of #978.

@ladvoc ladvoc closed this Mar 29, 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