-
Notifications
You must be signed in to change notification settings - Fork 233
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
Introduce useLoopbackInterface to config #236
base: master
Are you sure you want to change the base?
Conversation
Hi, thanks for your contribution! |
Thanks for the contribution! Looks good to me with a couple of small changes:
You'll also need to sign the CLA as Jenkins pointed out. |
Hey, can you tell me how this ice4j project gets bundled into jitsi-videobridge, and how reference.conf (or any similar configuration) gets picked up by ice4j? I see no reference.conf in the freebsd package (much less in the |
Also because of this, I'd rather leave the 'old' configuration option in place, since FreeBSD might take a while to catch up with the new configuration file, should that be the issue. I can contact the maintainer of the FreeBSD package, but I can't expect to have a timely reply from him to change the config file to the reference.conf format. A lot of deployments use the old format already. |
Alright, I've made the discussed changes. As for the CLA, I don't want to sign anything. However, I hereby declare this contribution under a WTFPL license. Sorry but I'm just not the kind of guy who signs random CLAs. |
a humble bump |
LGTM, but we can't merge it without a CLA. |
You can close this request then and submit the patch under your name, I really don't mind. |
|
Thanks, I'll let this information be known to the package maintainer. In the meanwhile, we gotta keep the old option, because currently there is no such configuration passed to the packaged videobridge. |
Hey @bgrozev, Out of curiosity I went ahead and compiled a videobridge with using my modifications on the I'm just looking into the code right now, and besides the Can you doublecheck please if this is the case? I'm confused as to why the code therein doesn't even run. |
Hey @karolyi The bridge initializes SinglePortUdpHarvesters on its own here: https://github.com/jitsi/jitsi-videobridge/blob/master/jvb/src/main/java/org/jitsi/videobridge/ice/Harvesters.java#L83 |
Interesting, then I have no idea as to why it's not initializing any harvesters. That said, the videobridge in FreeBSD seems pretty old (still uses I just want to get my changes working so it can end up in FreeBSD already. |
This is very old, it might not even be compatible with ice4j master. |
That shouldn't be a problem, as when I get in touch with the maintainer, we'll update the whole shebang. I have compiled from the latest videobridge and didn't get any SinglePortUdpHarvesters started up, that's the problem. Until I don't get it working, it makes no sense the contact the maintainer to have it updated in the ports tree as well, because it's not guaranteed to work. |
In hopes of tackling jitsi/jitsi-videobridge#1709, this is a patch that introduces a couple new config variables. Not sure this would be the right way though, as it's kinda superfluous in hindsight, having
org.ice4j.ice.harvest.ALLOWED_INTERFACES
andorg.ice4j.ice.harvest.BLOCKED_INTERFACES
in place. Nonetheless, here's the patch.If you decide this to be the right way, the
doc/configuration.md
file needs to be updated.