-
Notifications
You must be signed in to change notification settings - Fork 6
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
fix: Active speaker highlighting [WPB-11040] #3045
Conversation
Bencher Report
Click to view all benchmark results
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## develop #3045 +/- ##
===========================================
+ Coverage 52.52% 52.56% +0.04%
===========================================
Files 1301 1303 +2
Lines 50044 50104 +60
Branches 4663 4671 +8
===========================================
+ Hits 26284 26337 +53
- Misses 21883 21885 +2
- Partials 1877 1882 +5
... and 15 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Datadog ReportBranch report: ✅ 0 Failed, 3104 Passed, 106 Skipped, 13.15s Total Time |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There could be a couple of tests for this.
// Given
Create a CallMetadata with some users. Put some in ActiveSpeakers
.
// When
Call getFullParticipants
.
// Then
Only the active speakers have isSpeaking = true
// Given
Create a CallMetadata with some users.
Put some in ActiveSpeakers
.
Mute some of these.
// When
Call getFullParticipants
.
// Then
Only the active speakers not muted have isSpeaking = true
Quality Gate passedIssues Measures |
* fix: Active speaker highlighting * Added tests
What's new in this PR?
Issues
Highlighting of speaking user during a call doesn't work.
Causes (Optional)
Small mistake in refactoring:
when we want to know if some participant is speaking during a call we need to check if that participant (pair of userId and clientId) is in a
activeSpeakers
list. The problem is that we were usingparticipantId
instead ofuserId
.Solutions
fix the mistake