Skip to content

fix(video-quality) Fixes an issue where outbound resolution can be st…#2617

Merged
jallamsetty1 merged 1 commit intomasterfrom
fix-sender-constraints
Jan 16, 2025
Merged

fix(video-quality) Fixes an issue where outbound resolution can be st…#2617
jallamsetty1 merged 1 commit intomasterfrom
fix-sender-constraints

Conversation

@jallamsetty1
Copy link
Member

…uck at wrong resolution.

The calls to RTCRtpSender.setParameters() are all chained and the current maxHeight is set after the call to setParameters is resolved. If there is another call made to setParameters before the previous one resolves, we can end up passing the wrong maxHeight resulting in the client getting stuck at an unexpected resolution. This issue can be reproduced sometimes when the users are moving across the main and breakout rooms. TPC.setVideoCodecs() ends up pushing a wrong maxHeight for update when the previous call to setParameters hasn't resolved yet.

…uck at wrong resolution.

The calls to RTCRtpSender.setParameters() are all chained and the current maxHeight is set after the call to setParameters is resolved. If there is another call made to setParameters before the previous one resolves, we can end up passing the wrong maxHeight resulting in the client getting stuck at an unexpected resolution. This issue can be reproduced sometimes  when the users are moving across the main and breakout rooms. TPC.setVideoCodecs() ends up pushing a wrong maxHeight for update when the previous call to setParameters hasn't resolved yet.
@jallamsetty1 jallamsetty1 merged commit 250ff7e into master Jan 16, 2025
2 checks passed
@jallamsetty1 jallamsetty1 deleted the fix-sender-constraints branch January 16, 2025 23:52
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