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

[MM-62296] Implement race free signaling through DC based lock #170

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

streamer45
Copy link
Contributor

@streamer45 streamer45 commented Mar 7, 2025

Summary

I've finally decided to try to eliminate the various race conditions that still affect signaling because the server side does not implement the perfect negotiation pattern.

My previous statement on this topic was not entirely accurate. Even the browser side could still get into an invalid SDP state. It was just more rare, but it was still fairly reproducible when dealing with more than a single audio track.

Anyhow, to get rid of all of this, we implement a synchronization mechanism (lock) through our data channel.

Related PR

mattermost/calls-common#45

Ticket Link

https://mattermost.atlassian.net/browse/MM-62296

@streamer45 streamer45 added the 2: Dev Review Requires review by a core committer label Mar 7, 2025
@streamer45 streamer45 added this to the 1.1.0 milestone Mar 7, 2025
@streamer45 streamer45 requested a review from cpoile March 7, 2025 01:20
@streamer45 streamer45 self-assigned this Mar 7, 2025
@streamer45 streamer45 added the Docs needed Requires documentation label Mar 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2: Dev Review Requires review by a core committer Docs needed Requires documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant