Skip to content

Conversation

@s-hamdananwar
Copy link
Contributor

This check ends up dropping packets when send_data is called, and when a data packet is published on a project with livestream mode. The former fails because this line returns Some(ParticipantIdentity("")) and not None, as user.participant_identity.try_into().ok() converts none to string. The latter fails because in livestream mode, participant list is not populated. Other SDKs (for eg. JS) are not doing this check. Removing this check should address both issues.

Removed check for participant existence before processing data packets.
Copy link
Contributor

@ladvoc ladvoc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM ✅

@s-hamdananwar s-hamdananwar merged commit 410a0f3 into main Oct 21, 2025
19 checks passed
@s-hamdananwar s-hamdananwar deleted the hamdan/remove-participant-check-data-channels branch October 21, 2025 14:52
@github-actions github-actions bot mentioned this pull request Oct 21, 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.

3 participants