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

Guard against ParticipantUpdate sent before JoinResponse #1271

Merged
merged 4 commits into from
Dec 29, 2022

Conversation

davidzhao
Copy link
Member

We do not want to send participants any signal messages prior to JoinResponse.

// 2. in case of session migration, participant migrate from other node, video track should
// be resumed with same participant, set flush=false since we don't need to flush decoder.
// 1. When transceiver is reused by other participant's video track,
// set flush=true to avoid previous video shows before previous stream is displayed.
Copy link
Contributor

Choose a reason for hiding this comment

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

not related to this PR, but looks like this comment should say to avoid previous video shows before new stream is displayed

Copy link
Member Author

Choose a reason for hiding this comment

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

cool, I'll change. this was formatted by running mage deadlock and then mage sync

@davidzhao davidzhao merged commit 1cffa98 into master Dec 29, 2022
@davidzhao davidzhao deleted the dz-guard-update-state branch December 29, 2022 09:08
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