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

[Enhancement]Debounce SetPublisher requests #709

Open
wants to merge 3 commits into
base: develop
Choose a base branch
from

Conversation

ipavlidakis
Copy link
Contributor

🔗 Issue Links

Resolves https://linear.app/stream/issue/IOS-742/[video]debounce-setpublisher-requests

🎯 Goal

By debouncing the SetPublisher requests to reduce the load on the backend.

🛠 Implementation

I tried setting the debounce interval to the screen refresh rate but it wasn't sufficient. Setting the interval to 250 milliseconds it allows us to join a call with audio and video enabled and only fire a single SetPublisher request

☑️ Contributor Checklist

  • I have signed the Stream CLA (required)
  • This change follows zero ⚠️ policy (required)
  • This change should receive manual QA
  • Changelog is updated with client-facing changes
  • New code is covered by unit tests
  • Comparison screenshots added for visual changes
  • Affected documentation updated (tutorial, CMS)

🎁 Meme

Provide a funny gif or image that relates to your work on this pull request. (Optional)

@ipavlidakis ipavlidakis added the enhancement New feature or request label Mar 12, 2025
@ipavlidakis ipavlidakis self-assigned this Mar 12, 2025
Copy link

Public Interface

🚀 No changes affecting the public interface.

Copy link

github-actions bot commented Mar 12, 2025

1 Warning
⚠️ Please be sure to complete the Contributor Checklist in the Pull Request description

Generated by 🚫 Danger

@Stream-SDK-Bot
Copy link
Collaborator

Stream-SDK-Bot commented Mar 12, 2025

SDK Size

title develop branch diff status
StreamVideo 7.58 MB 7.58 MB 0 KB 🟢
StreamVideoSwiftUI 2.07 MB 2.07 MB 0 KB 🟢
StreamVideoUIKit 2.21 MB 2.21 MB 0 KB 🟢
StreamWebRTC 9.85 MB 9.85 MB 0 KB 🟢

Copy link

Public Interface

🚀 No changes affecting the public interface.

@ipavlidakis ipavlidakis marked this pull request as ready for review March 13, 2025 15:59
@ipavlidakis ipavlidakis requested a review from a team as a code owner March 13, 2025 15:59
Copy link

Public Interface

🚀 No changes affecting the public interface.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants