Skip to content

fix: Sources with type NONE should not have effective constraints#2292

Merged
bgrozev merged 2 commits intomasterfrom
pr-test-update
Feb 21, 2025
Merged

fix: Sources with type NONE should not have effective constraints#2292
bgrozev merged 2 commits intomasterfrom
pr-test-update

Conversation

@bgrozev
Copy link
Member

@bgrozev bgrozev commented Feb 21, 2025

  • fix: Sources with type NONE should not have effective constraints.
  • squash: Adjust unit tests.

When a source has video type NONE or DISABLED, it has been signaled but
is not transmitted. For the purpose of generating effective constraints,
it should be as if the source was not present.

A change of effective constraints is the trigger for creating a new
mapping for a receiver. If a receiver has effective constraints for a
source with type NONE, and that source is later enabled, the effective
constraints don't change, and the mapping is not created. This should
fix #2288.
@codecov
Copy link

codecov bot commented Feb 21, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 44.16%. Comparing base (5ff1959) to head (20b03e7).
Report is 9 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #2292      +/-   ##
============================================
- Coverage     44.18%   44.16%   -0.03%     
- Complexity     2074     2076       +2     
============================================
  Files           350      350              
  Lines         19647    19679      +32     
  Branches       2652     2652              
============================================
+ Hits           8682     8692      +10     
- Misses        10083    10106      +23     
+ Partials        882      881       -1     
Files with missing lines Coverage Δ
.../org/jitsi/videobridge/cc/allocation/Prioritize.kt 93.75% <100.00%> (ø)

... and 1 file with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 17b7e28...20b03e7. Read the comment docs.

@bgrozev bgrozev merged commit cda9e6b into master Feb 21, 2025
4 of 6 checks passed
@bgrozev bgrozev deleted the pr-test-update branch February 21, 2025 19: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