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

Hold pc.mu while populating local candidates #2815

Merged
merged 1 commit into from
Jul 19, 2024

Conversation

edaniels
Copy link
Member

This prevents a race with checkNegotiationNeeded that inspects attributes of the SDP's MediaDescriptions. It's a hard to reproduce race but it has happened.

@edaniels edaniels requested a review from Sean-Der July 19, 2024 15:27
Copy link

codecov bot commented Jul 19, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.05%. Comparing base (b874788) to head (8bcaf6f).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2815      +/-   ##
==========================================
- Coverage   80.68%   79.05%   -1.63%     
==========================================
  Files          78       89      +11     
  Lines        7548     8270     +722     
==========================================
+ Hits         6090     6538     +448     
- Misses       1032     1262     +230     
- Partials      426      470      +44     
Flag Coverage Δ
go 80.67% <100.00%> (-0.02%) ⬇️
wasm 64.98% <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Sean-Der Sean-Der merged commit 17d3e97 into pion:master Jul 19, 2024
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants