Skip to content

Commit

Permalink
Initialize the udp/10000 harvester at startup instead of first confer…
Browse files Browse the repository at this point in the history
…ence. (#2080)
  • Loading branch information
bgrozev authored Jan 19, 2024
1 parent 07b97eb commit b2d4229
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions jvb/src/main/kotlin/org/jitsi/videobridge/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ fun main() {
}

startIce4j()
Harvesters.initializeStaticConfiguration()

XmppStringPrepUtil.setMaxCacheSizes(XmppClientConnectionConfig.config.jidCacheSize)
PacketQueue.setEnableStatisticsDefault(true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,6 @@ class IceTransport @JvmOverloads constructor(

companion object {
fun appendHarvesters(iceAgent: Agent) {
Harvesters.initializeStaticConfiguration()
Harvesters.tcpHarvester?.let {
iceAgent.addCandidateHarvester(it)
}
Expand Down

0 comments on commit b2d4229

Please sign in to comment.