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-60189] Rate limit forwarding PLI requests #154

Merged
merged 3 commits into from
Sep 16, 2024
Merged

[MM-60189] Rate limit forwarding PLI requests #154

merged 3 commits into from
Sep 16, 2024

Conversation

streamer45
Copy link
Contributor

Summary

Sending keyframes can be expensive for the presenter, as it requires more bandwidth. It gets worse when N receivers concurrently ask for a keyframe. This is common when a presenter begins screen sharing in a large call.

PR introduces some rate limiting to avoid forwarding more than 1 PLI (picture loss indication) request per second.

Ticket Link

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

@streamer45 streamer45 added the 2: Dev Review Requires review by a core committer label Aug 15, 2024
@streamer45 streamer45 added this to the v0.17.1 milestone Aug 15, 2024
@streamer45 streamer45 requested a review from cpoile August 15, 2024 14:10
@streamer45 streamer45 self-assigned this Aug 15, 2024
@streamer45 streamer45 changed the base branch from master to fix-ci August 15, 2024 14:10
Copy link
Member

@cpoile cpoile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice solution!

client/rtc.go Show resolved Hide resolved
@cpoile cpoile added 3: Reviews Complete All reviewers have approved the pull request and removed 2: Dev Review Requires review by a core committer labels Sep 5, 2024
Base automatically changed from fix-ci to master September 16, 2024 21:10
@streamer45 streamer45 merged commit c9ed0e1 into master Sep 16, 2024
2 checks passed
@streamer45 streamer45 deleted the MM-60189 branch September 16, 2024 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3: Reviews Complete All reviewers have approved the pull request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants