Commit Graph

362 Commits (8b80566f780b2b040f5f92b006aecf3776fc1e34)

Author SHA1 Message Date
Haibo Chen 3ddacdb47b Build: Support sys-ssl for srt. v5.0.184 (#3806)
support sys-ssl for srt

---------

Co-authored-by: john <hondaxiao@tencent.com>
1 year ago
john 21ae618c48 SRT: Log level to debug when no socket to accept. v5.0.180 (#3696) 1 year ago
chundonglinlin 29271a46d3 Compile: Fix typo for 3rdparty. v5.0.166, v6.0.59 (#3615)
---------

Co-authored-by: john <hondaxiao@tencent.com>
2 years ago
panda 3a14bb4620 Upgrade jquery from 1.10.2 to 1.12.2 (#3571)
---------

Co-authored-by: chundonglinlin <chundonglinlin@163.com>
2 years ago
Haibo Chen fbccdb92b7 Fix Permission Issue in depend.sh for OpenSSL Compilation. v5.0.160, v6.0.53 (#3592)
---------

Co-authored-by: john <hondaxiao@tencent.com>
2 years ago
Winlin fdaab863dc WebRTC: Support configure CANDIDATE by env (#3470)
In dockerfile, we can set the default RTC candidate to env:

```
ENV SRS_RTC_SERVER_CANDIDATE=\$CANDIDATE
CMD ["./objs/srs", "-e"]
```

When starts a docker container, user can setup the candidate by env:

```
docker run --rm -it --env CANDIDATE=1.2.3.4 ossrs/srs:5
```

We should parse the content of SRS_RTC_SERVER_CANDIDATE as env variable name and parse it again.

PICK b34255c3d0

---------

Co-authored-by: chundonglinlin <chundonglinlin@163.com>
Co-authored-by: pengfei.ma <pengfei.ma@ctechm.com>
2 years ago
Winlin 47aa42f1e2 Support configure for generic linux. v5.0.145, v6.0.32 (#3445)
If your OS is not CentOS, Ubuntu, macOS, cygwin64, run of configure will fail with:

```
Your OS Linux is not supported.
```

For other linux systems, we should support an option:

```
./configure --generic-linux=on
```

Please note that you might still fail for other issues while configuring or building.

PICK b31940a15a

-------

Co-authored-by: chundonglinlin <chundonglinlin@163.com>
Co-authored-by: ChenGH <chengh_math@126.com>
2 years ago
winlin a27ce1d50f FFmpeg: Support build with FFmpeg native opus. v5.0.131 (#3140) 2 years ago
winlin 372390f8d1 Build: Refine install tips. 2 years ago
ChenGH dd0f398296
Asan: Disable asan for CentOS and use statically link if possible. v5.0.127 (#3347) (#3352)
* Asan: Disable asan for CentOS and use statically link if possible. v5.0.127 (#3347)

1. Disable asan for all CentOS by default, however user could enable it.
2. Link asan statically if possible.

* Update version to v5.0.127

Co-authored-by: winlin <winlin@vip.126.com>
2 years ago
winlin e690c93bcf Script: Refine depends tools. v5.0.124
1. Never auto install tools now, user should do it.
2. Support --help and --version for SRS.
3. Install tools for cygwin64.
2 years ago
winlin 87a2ef100a Script: Discover version from code. 2 years ago
winlin 37867533cd MP3: Convert RTMP(MP3) to WebRTC(OPUS). v5.0.118 (#296) (#3340) 2 years ago
chengh 8be4c8e334 Asan: Set asan loging callback. v5.0.104 2 years ago
winlin 4ada0bc629 Asan: Cleanup for testing for asan. 2 years ago
Winlin b72ad85502
Asan: Check libasan and show tips. v5.0.92 (#3266) 2 years ago
winlin b9284b6cc6 Windows: Support cygwin cache for test. (#3259) 2 years ago
Winlin b18ee398ed
Windows: Support cygwin pipline and packager. v5.0.89 (#3257)
1. Support github actions on Windows Server 2022.
2. Use cygwin64 in windows-latest to build SRS.
3. Package SRS-xxx-setup.exe by NSIS.exe
4. Patch crypto/include/config.h for libsrtp.
5. Support run as administrator.
6. Apply utest for cygwin.
7. Enable srtp over openssl.
2 years ago
Winlin d741f81110
For #2532: Windows: Support CYGWIN64 for SRS (#3255)
1. Support cygwin by '--cygwin64=on'
2. Detect cygwin automatically.
3. Disalbe sanitizer, srt and srtp with openssl.
4. Disable multiple threads, use single threads.
5. Support utest for cygwin64.
6. Query features for windows by API.
7. Disable stat APIs for cygwin.
8. Use ST select event driver.

Co-authored-by: wenjie.zhao <740936897@qq.com>
2 years ago
Winlin 88641b535c UTest: Enable sanitizer for utest. (#3247)
1. Enable sanitizer for utest.
2. Allow auto detect jobs for make.
3. Show more information about build cache.
2 years ago
wenjie.zhao e9503a9c9a For #2532: Windows: Replace ln by cp for windows. v5.0.87 (#3246)
1. Replase ln by cp for windows.
2. Refine OS and CPU arch detecting.
3. Support configure from any directory by `SRS_WORKDIR`.
4. Support output to any directory by `SRS_OUTPUT`.
5. Disable sanitizer for gperf.
6. Use parallels build for make.
7. Refine bash variable check.
2 years ago
ChenGH 961f701929
Sanitizer: Support address sanitizer for x86_64 platform (#3212)
* Sanitizer: Support address sanitizer for x86_64 platform
* Sanitizer: Not mac os need -static-libasan
* Sanitizer: Add script for docker test.
* Sanitizer: Refine build script.
* Santizer: Fix ossrs/srs:dev-gcc7-cache cannot find libasan bug
* Sanitizer: Support sanitizer when use ossrs/srs:dev-cache and ubuntuxx-cache
* Sanitizer: Add sanitizer-static config

Co-authored-by: winlin <winlin@vip.126.com>
2 years ago
winlin 1fe12b8e8c Speedup test by using cache image. 3 years ago
winlin a842c6c32a Support crossbuild for hisiv500. v5.0.40 3 years ago
winlin 7f7406ec77 Build: Detect OS by packager. v5.0.39 3 years ago
winlin 1ab584b2ae Loongson/mips64: Support FFmpeg and openssl. 3 years ago
winlin 25c004e947 Opus: Add TODO because the audio might be corrupted, if use FFmpeg native opus. 3 years ago
winlin 14832b66eb Build: Disable openssl ASM for loongson. v5.0.35 3 years ago
winlin 079ac107f0 For loongarch, fix openssl build bug, always use linux64-mips64 as required. 3 years ago
Steven Liu 08c4b25030 RISCV: Patch ST and libsrtp. #3115 3 years ago
winlin 82efa564e4 Merge branch '4.0release' into develop 3 years ago
winlin d9352ec43b Disable all asm for FFmpeg, to compatible with ARM CPU. 3 years ago
winlin d88fd12c26 SRT: Fix cmake bug, quit if error. 3 years ago
winlin c225c3f745 Merge branch '4.0release' into develop 3 years ago
Winlin 350c05c589
UTest: Upgrade gtest to 1.11 and support clion. (#2970) 3 years ago
everything411 d6ead6c0c5
SRT: Fix typo in libsrt build options (#2943)
the cmake option is ENABLE_APPS, so we should use --disable-apps or --enable-apps=0. this commit fixes the typo.
3 years ago
winlin 88c8a4f6c0 Squash: Bug fixed 3 years ago
winlin 0a848430e9 Refine build script for SRT to avoid warnings. v4.0.243 3 years ago
winlin 4110fb14cb Squash: Fix bugs. v5.0.20 3 years ago
winlin 013fa8ac6c Install test-on self-sign certificate. v4.0.217 3 years ago
winlin c7ea21d06a Fix ulimit issue by detecting epoll on Ubuntu. (#2811). v4.0.213 3 years ago
winlin 716e578a19 Squash: Fix bugs 3 years ago
winlin 44e9dc83e9 Upgrade gperftools to 2.9 for GCP/GMC/GMP/GMD. (#2247) 3 years ago
winlin 523b055c06 Squash: Support RPM. Fix bugs. 3 years ago
HungMingWu cc99226ed5 SRTP: Patch libsrtp2 to fix GCC10 build fail. v4.0.189 3 years ago
winlin da7fac0939 Release SRS v5.0.19, develop version, not stable 3 years ago
winlin e8380cda29 Demos: Remove the unused H5 demo files. (#2469) 3 years ago
winlin 3c4b9be76b For #2689, Refine the patches for loongarch 3 years ago
winlin 5b44cc6a17 For #2689, Support loongarch, loongson CPU. v5.0.19 3 years ago
winlin 8ea9783de7 OpenWRT: Disable mprotect of ST. 5.0.16 3 years ago