chore: improve handling of unused streams on media calls#37921
Conversation
|
WalkthroughThe Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes
Possibly related PRs
Suggested labels
Suggested reviewers
Poem
Pre-merge checks and finishing touches✅ Passed checks (3 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## develop #37921 +/- ##
===========================================
- Coverage 70.64% 70.63% -0.01%
===========================================
Files 3143 3143
Lines 108684 108678 -6
Branches 19567 19538 -29
===========================================
- Hits 76783 76768 -15
- Misses 29899 29907 +8
- Partials 2002 2003 +1
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
|
Looks like this PR is ready to merge! 🎉 |
Proposed changes (including videos or screenshots)
Changed media-signaling lib to only attempt to use a media stream once it is confirmed that the session will be participating on a call.
Without this change, if the user had multiple rocket.chat sessions, all of them would generate and play a media stream, but only one of them would have actual media reaching it so the others would generate an error log.
Issue(s)
VGA-129
Steps to test or reproduce
Further comments
Summary by CodeRabbit
✏️ Tip: You can customize this high-level summary in your review settings.