-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
support multi ips #211
support multi ips #211
Conversation
|
||
private: | ||
static struct sockaddr_storage sockaddrStorageIPv4; | ||
static struct sockaddr_storage sockaddrStorageIPv6; | ||
static std::map<std::string, struct sockaddr_storage> sockaddrStorageMultiIPv4s; | ||
static std::map<std::string, struct sockaddr_storage> sockaddrStorageMultiIPv6s; | ||
static uint16_t minPort; | ||
static uint16_t maxPort; | ||
static std::unordered_map<uint16_t, bool> availableIPv4Ports; | ||
static std::unordered_map<uint16_t, bool> availableIPv6Ports; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Both availableIPv4Ports
and availableIPv6Ports
are no longer required, right? (same in the .hpp file).
Wow! this is an awesome feature and PR! We'll check it as far as we can. Just a few comments:
Thanks! |
Will you modify JavaScript api to adapt multi-IP feature? |
Very nice work @yangjinecho! |
@yangjinecho yes, we can do the JS part (we must think about how to do it). We'll check this PR on next week and update here. Thanks! |
Hi @yangjinecho, it will take us longer than expected before we can work on this PR. Will notify here when we start working on it. |
Hi. Thanks for this PR. However we are gonna delay this feature for v3, as described it the v3 roadmap: #227 |
Hi @yangjinecho, just wanted to let you know that mediasoup v3 (work in progress) no longer accepts RTC ipv4/ipv6 within the |
No description provided.