forked from Haivision/srt
-
Notifications
You must be signed in to change notification settings - Fork 0
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
同步远程代码 #4
Merged
Merged
同步远程代码 #4
Conversation
This file contains 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
Added custom build directory and VCPKG OpenSSL.
…#1995). See the scripts/win-installer/README.md file for details.
Renamed m_RIDVectorLock to m_RIDListLock.
Now TTL of a socket pending for connection is checked on every update iteration -> more precise connection timeout.
Previously TTL was checked only every 250 ms, which resulted in a poor timeout precision.
- Remove obsolete declares and scripts; - Allow to set build parameters (ndk root, api level, archs set, versions) from the command line; - Use C++11 version of sync module by default.
The sequence range to drop in the sender's drop request was 1 packet wider than needed.
Previously a custom __MINGW__ preprocessor definition was used. It was defined in udt.h, and not included everywhere.
for a uniform way to get a random integer from the range. If C++11 is enabled, uniform_int_distribution and random_device are used.
CUDT, CUDTUnited, CUDTSocket, CUDTGroup, etc.
- More comprehensive README. - Added a sample installation script for users to automate the download and installation of libsrt. Useful to automate user's CI/CD pipeline. - Renamed typo in script name ("intaller"). - Updated build script to also produce the .zip archive as published with version 1.4.3. But note that binaries don't compress well (only 2% space) and publishing a .zip instead of the .exe does not provide much improvement anyway.
Introduced new SRT socket error SRT_EBINDCONFLICT.
…thread sanitizer (#1863)
Co-authored-by: Jose Santiago <jsantiago@haivision.com>
Need to link against libatomic when compiling statically
A static local variable has the benefits of lazy initialization and avoids the initialization order problem of global variables.
…) sets it itself.
including MinGW.
Added CUDT::getAvailRcvBufferSize() function with and without mutex lock.
Using std::array. Try to bind SRT directly instead of UDP.
instead of the std::random_device. Fixed max value probability for the default (C++03) rand().
Also corrected the 'build-android.sh' script. Co-authored-by: Sergei Ignatov <sergeiignatov@users.noreply.github.com>
The property file libsrt.props did not reference ws2_32.lib. For large applications which already reference the Windows socket library, there is no difference. In small test applications which reference libsrt only, there were undefined symbols.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.