-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
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
IPv6 support (for 3.0 release) #988
Conversation
Good job, SRS3 is open to accept feature PRs. |
trunk/configure
Outdated
@@ -86,7 +86,7 @@ done | |||
##################################################################################### | |||
# build tools or compiler args. | |||
# enable gdb debug | |||
GDBDebug=" -g -O0" | |||
GDBDebug=" -g -O1" |
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.
It has nothing to do with IPv6, right? Please revert this change.
trunk/src/app/srs_app_mpegts_udp.cpp
Outdated
(char*)&address_string, sizeof(address_string), | ||
(char*)&port_string, sizeof(port_string), | ||
NI_NUMERICHOST|NI_NUMERICSERV) != 0) { | ||
abort(); |
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.
Why abort?
The issues are fixed now:
|
Good work~ |
I refine some lines for this PR:
|
* IPv6 support, part 1. * IPv6 support, part 2. * Some more IPv6 work. * Made functions for address:port paŕsing IPv6-capable. * Fixed type (compile warning). * Fixed formatting. * Reverted option change. * Replaced abort() by proper error handling. * Also retrieving local IPv6 addresses now.
This pull request adds IPv6 support to SRS.
Test with: