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

fix(ReceiveVideoController) fix setting lastN to 0 #2555

Merged
merged 1 commit into from
Aug 15, 2024

Conversation

saghul
Copy link
Member

@saghul saghul commented Aug 15, 2024

When lastN is first set to some truty value and then 0, it wouldn't be set because we relied on a "truthyness" check.

Check if the value is undefined so it can be set to 0.

When lastN is first set to some truty value and then 0, it wouldn't be
set because we relied on a "truthyness" check.

Check if the value is undefined so it can be set to 0.
@saghul saghul requested a review from jallamsetty1 August 15, 2024 10:05
@jallamsetty1 jallamsetty1 merged commit 134aac1 into jitsi:master Aug 15, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants