Skip to content
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 124 commits into from
Oct 20, 2021
Merged

同步远程代码 #4

merged 124 commits into from
Oct 20, 2021

Conversation

cg82616424
Copy link
Owner

No description provided.

lewk2 and others added 30 commits May 12, 2021 10:27
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.
lelegard and others added 29 commits September 20, 2021 16:45

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.
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.
@cg82616424 cg82616424 merged commit e338581 into cg82616424:master Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.