-
Notifications
You must be signed in to change notification settings - Fork 358
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(meetings): webrtc dumps are sometimes empty when users join a meeting via lobby #3836
Conversation
@@ -192,15 +190,13 @@ Media.createMediaConnection = ( | |||
config.bundlePolicy = bundlePolicy; | |||
} | |||
|
|||
const rtcMetrics = new RtcMetrics(webex, meetingId, correlationId); |
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.
I had to move this to Meeting.createMediaConnection() so that I could store the reference to
RtcMetricsas a private field of the
Meeting. This way we can call
this.rtcMetrics.sendNextMetrics()` when we are admitted into the meeting.
This pull request is automatically being deployed by Amplify Hosting (learn more). |
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.
Changes look good to me, have tested locally with the scenario outlined in the PR description and it's working as expected
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.
LGTM
COMPLETES #SPARK-562381
This pull request addresses
If a user joins a meeting and ends up in the lobby and later gets admitted to the meeting, it can take up to 30s before we send webrtc dump data after user is admitted to the meeting. If user has any issues, they often close the tab before we send webrtc dump data.
by making the following changes
Sending webrtc dump data sooner after being admitted. The data is collected every 5s, so it should be good enough if we just send the first batch of data we have after being admitted.
Change Type
The following scenarios where tested
unit tests, manual test run with the web app
I certified that
I have read and followed contributing guidelines
I discussed changes with code owners prior to submitting this pull request
I have not skipped any automated checks
All existing and new tests passed
I have updated the documentation accordingly
Make sure to have followed the contributing guidelines before submitting.