In my quest to make all things configurable (insert meme here), I was
running into issues with the configuration of the port range used when not
doing single-port UDP media streaming (what's by default on 10001-20000).
I've initially tried to change the values of the
and net.java.sip.communicator.service.media.MAX_PORT_NUMBER properties, but
to my surprise, that did not have the desired effect.
Turns out that these value are not only used in DefaultStreamConnector
(where the properties are defined), but also in the main method
implementation of org.jitsi.videobridge.Main. There it is used to apply
configuration in two different transports:
// Jingle Raw UDP transport
// TODO: Use the common TransportManager.portTracker for Raw UDP too
// Jingle ICE-UDP transport
I'm not launching the bridge as a stand-alone application, but from code.
As a result, I'm not invoking Main at all - which is why I missed the
By adding this code to mine, I was quickly able to resolve my issue. This
lives me with one question:
what's the difference between Jingle Raw UDP and ICE-UDP transport? When is