Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't switch candidate if signal closed when pc failed #1498

Merged
merged 3 commits into from Mar 8, 2023

Conversation

cnderrauber
Copy link
Contributor

No description provided.

@@ -339,6 +341,7 @@ func (r *Room) Join(participant types.LocalParticipant, opts *ParticipantOptions

r.participants[participant.Identity()] = participant
r.participantOpts[participant.Identity()] = opts
r.participantRequestSources[participant.Identity()] = requestSource
Copy link
Member

Choose a reason for hiding this comment

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

should this be a field inside participantOpts instead? could simplify the interface by keeping it the same.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The ParticipantOpts is used to save options provided by the client connection option, I prefer to separate internal state from it, what we are doing at cloud.

@cnderrauber cnderrauber merged commit 11ae7fd into master Mar 8, 2023
@cnderrauber cnderrauber deleted the signal_closed branch March 8, 2023 07:16
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.

None yet

3 participants