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

Call conference.addEndpoints() a single time when adding RelayedEndpoints. #2010

Merged
merged 2 commits into from
Apr 10, 2023

Conversation

bgrozev
Copy link
Member

@bgrozev bgrozev commented Apr 7, 2023

No description provided.

@@ -733,18 +733,19 @@ class Relay @JvmOverloads constructor(
fun dtlsAppPacketReceived(data: ByteArray, off: Int, len: Int) =
sctpHandler.processPacket(PacketInfo(UnparsedPacket(data, off, len)))

/** Return the newly created endpoint, or null if an endpoint with that ID already existed. */
Copy link
Member

Choose a reason for hiding this comment

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

Maybe add a note here that this does not add it to the conference?

@codecov
Copy link

codecov bot commented Apr 7, 2023

Codecov Report

Merging #2010 (6aa6e9f) into master (4339a9f) will increase coverage by 0.04%.
The diff coverage is 0.00%.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master    #2010      +/-   ##
============================================
+ Coverage     42.91%   42.95%   +0.04%     
- Complexity     1678     1681       +3     
============================================
  Files           325      325              
  Lines         16942    16944       +2     
  Branches       2237     2238       +1     
============================================
+ Hits           7270     7279       +9     
+ Misses         8961     8947      -14     
- Partials        711      718       +7     
Impacted Files Coverage Δ
.../videobridge/colibri2/Colibri2ConferenceHandler.kt 1.04% <0.00%> (-0.02%) ⬇️
...c/main/kotlin/org/jitsi/videobridge/relay/Relay.kt 16.66% <0.00%> (+0.02%) ⬆️

... and 7 files 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 4339a9f...6aa6e9f. Read the comment docs.

@bgrozev bgrozev merged commit c3028de into jitsi:master Apr 10, 2023
@bgrozev bgrozev deleted the add-relayed-endpoints-once branch May 23, 2024 13:35
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