This repository was archived by the owner on Jul 12, 2023. It is now read-only.
Add externalIPv4/externalIPv6 configs and API methods for them#27
Merged
Conversation
This setting follows the same rationale of the externalAddress setting, but the idea here is to make it dual stack friendly by splitting it into IPv4 and IPv6 specific configs and mangling compatible candidates with them For the sake of backwards compatibility, externalAddress has preference over these two. So when it`s set, they will be ignored
|
Hi there, thanks for your Pull Request! A Kurento member needs to verify that this patch is reasonable to test. In case it is, they should write a comment with the phrase |
Member
|
Amazing addition! thank you very much. I'm right now adding a couple of easy unit tests, and this will be ready for merging. |
Member
|
I think this should deprecate the |
…nalIPv6 Add Javadoc/Jsdoc texts for new parameters externalIPv4, externalIPv6. Edit externalAddress to make all of them homogeneous.
This is now superseded by the combination of externalIPv4 and externalIPv6.
Contributor
Author
|
@j1elo Yeah, agreed. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What is the current behavior you want to change?
Currently,
externalAddressallows only for a single IP that will be either IPv4 or IPv6. That's not friendly with dual stack IPv4+IPv6 environments.Fixes Kurento/bugtracker#522
What is the new behavior provided by this change?
This pull request splits the
externalAddressconfig into two new onesexternalIPv4externalIPv6They can be used concurrently and will mangle compatible IPv_X candidates.
externalAddresswill still have precedence of these two new options: if it's set,externalIPv4/externalIPv6will be ignoredFrom the
WebRtcEndpoint.conf.iniexplanation:How has this been tested?
Types of changes
Checklist