1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-12 19:31:53 +00:00
Commit graph

142 commits

Author SHA1 Message Date
chundonglinlin
f1db76011b RTC: Refine FFmpeg opus audio noisy issue. v5.0.197 (#3852)
When converting between AAC and Opus formats (aac2opus or opus2aac), the
`av_frame_get_buffer` API is frequently called.

The goal is to optimize the code logic and reduce the frequent
allocation and deallocation of memory.

In the case of aac2opus, av_frame_get_buffer is still frequently called.
In the case of opus2aac, the goal is to avoid calling
av_frame_get_buffer and reduce memory allocations.

Before calling the `av_audio_fifo_read` API, use
`av_frame_make_writable` to check if the frame is writable. If it is not
writable, create a new frame.

---------

Co-authored-by: john <hondaxiao@tencent.com>
2023-11-04 16:28:52 +08:00
肖志宏
8b80566f78 Use new cache image name. v5.0.186 2023-10-08 21:13:47 +08:00
winlin
94a53431ff Update latest release to SRS 5.0 2023-08-02 15:01:09 +08:00
winlin
c3d265c07c Release v5.0-b3, 5.0 beta3, v5.0.170, 162704 lines. 2023-08-02 11:04:49 +08:00
winlin
f61fd18f5e Fix release note issue. 2023-07-10 10:35:00 +08:00
chundonglinlin
29271a46d3 Compile: Fix typo for 3rdparty. v5.0.166, v6.0.59 (#3615)
---------

Co-authored-by: john <hondaxiao@tencent.com>
2023-07-10 08:22:34 +08:00
winlin
cbcc41c156 Add new docker tag x.y.z for helm. 2023-07-02 17:19:27 +08:00
john
ca46185ace Fix crash when process rtcp feedback message. v5.0.159, v6.0.52 (#3591)
---------

Co-authored-by: johzzy <hellojinqiang@gmail.com>
2023-06-20 13:21:42 +08:00
winlin
9ffbefac1c Update release workflow and remove unnecessary scripts
1. Updated the release workflow for GitHub action.
2. Removed the script that updates the lh.ossrs.net and d.ossrs.net.
3. Only kept a demo script for updating r.ossrs.net.

Please note that this code has not been tested yet, but it is expected to work. The changes will be triggered in the next release.
2023-05-14 17:39:39 +08:00
winlin
cdc65be447 Fix release workflow bug. 2023-03-23 13:58:58 +08:00
Winlin
a4e7427433
Config: Support better env name for prefixed with srs (#3370)
* Actions: Fix github action warnings.

* Forward: Bind the context id of source or stream.

* Config: Support better env names.

Co-authored-by: pengfei.ma <pengfei.ma@ctechm.com>
Co-authored-by: Haibo Chen <495810242@qq.com>
2023-01-11 10:39:05 +08:00
Winlin
e655948e96 DVR: Support blackbox test based on hooks. v5.0.132 (#3365) 2023-01-07 21:33:02 +08:00
winlin
95b534ff10 Test: Run fast and slow blackbox tests seperately. 2023-01-03 22:47:07 +08:00
Winlin
2141d220b4
Test: Support blackbox test by FFmpeg. v5.0.128 (#3355)
1. Enable blackbox test for each PR and push.
2. Refine Makefile and README for srs-bench.
3. Add blackbox using FFmpeg and ffprobe.
4. Add blackbox basic test for RTMP stream.
5. Add blackbox basic test for HTTP-FLV stream.
6. Fix utest rand seed issue.
2023-01-02 15:33:17 +08:00
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.
2023-01-01 13:40:28 +08:00
winlin
7750bdae10 GB28181: Enable regression test for gb28181. v5.0.122
1. Build regression test tool for gb28181.
2. Run regression test for gb28181.
3. Format go code and eliminate logs.
4. Change base docker to ubuntu20.
2022-12-31 19:36:49 +08:00
winlin
fe3502e6ad Actions: Fix github actions bug. 2022-12-25 21:32:35 +08:00
winlin
23b7939574 Actions: Fix GitHub actions warnings. 2022-12-25 20:19:20 +08:00
winlin
3ed7d88990 Script: Refine GitHub actions. 2022-12-25 12:37:57 +08:00
winlin
61d3815fdf Test: Refine cache for cygwin64 test. 2022-12-13 00:30:38 +08:00
winlin
539f5975d6 Build: Refine cygwin64 test script. 2022-12-08 16:24:27 +08:00
winlin
0e550d496b Cygwin: Enable gb28181 for Windows. v5.0.105 2022-12-04 22:34:36 +08:00
Winlin
e83fc2388b
Docker: Remove CentOS 6 support. (#3287)
1. Remove CentOS 6 for test and utest.
2. Statically build FFmpeg, no so depends.
2022-12-01 21:32:08 +08:00
Winlin
136e5cf0e0
Support gitee mirror for release resource files. (#3265) 2022-11-22 10:06:16 +08:00
ChenGH
f4f9c70d79
Asan: Fix global ip address leak check bug. v5.0.90 (#3248)
* asan: fix global ips memory leak bug

* Asan: Fix global ip address leak check. v5.0.90

* Asan: Directly start SRS for daemon error fixed.

Co-authored-by: winlin <winlin@vip.126.com>
2022-11-21 20:22:13 +08:00
winlin
a2bddbe9c3 Release: Refine pipeline for release. 2022-11-20 20:35:24 +08:00
winlin
05209eb522 Fix bug for regression test, check process by script. 2022-11-20 20:07:21 +08:00
winlin
b9284b6cc6 Windows: Support cygwin cache for test. (#3259) 2022-11-20 19:58:21 +08:00
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.
2022-11-20 15:02:08 +08:00
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.
2022-11-18 23:07:49 +08:00
Winlin
5a420ece3b
GB28181: Support GB28181-2016 protocol. v5.0.74 (#3201)
01. Support GB config as StreamCaster.
02. Support disable GB by --gb28181=off.
03. Add utests for SIP examples.
04. Wireshark plugin to decode TCP/9000 as rtp.rfc4571
05. Support MPEGPS program stream codec.
06. Add utest for PS stream codec.
07. Decode MPEGPS packet stream.
08. Carry RTP and PS packet as helper in PS message.
09. Support recover from error mode.
10. Support process by a pack of PS/TS messages.
11. Add statistic for recovered and msgs dropped.
12. Recover from err position fastly.
13. Define state machine for GB session.
14. Bind context to GB session.
15. Re-invite when media disconnected.
16. Update GitHub actions with GB28181.
17. Support parse CANDIDATE by env or pip.
18. Support mux GB28181 to RTMP.
19. Support regression test by srs-bench.
2022-10-06 17:40:58 +08:00
winlin
736c661808 Merge 4.0 release 2022-09-16 18:37:07 +08:00
winlin
0e68dc2939 Refine 4.0 release workflow. 2022-09-16 13:15:23 +08:00
winlin
762b314700 Refine release workflow. 2022-09-16 13:11:20 +08:00
winlin
5225a07727 Merge 4.0release 2022-08-25 07:31:53 +08:00
winlin
d5293e34e1 Refine release doc and wiki link. 2022-08-25 07:27:00 +08:00
winlin
fe2002794f Release v4.0-r2, 4.0 release2, v4.0.257, 144890 lines. 2022-08-24 18:25:30 +08:00
winlin
8898ba9769 Remove lighthouse and droplet docker image. 2022-08-15 07:58:59 +08:00
winlin
4126c42118 Speedup test by refine the task dependencies. 2022-08-15 07:57:42 +08:00
winlin
1fe12b8e8c Speedup test by using cache image. 2022-08-14 22:41:29 +08:00
winlin
d4e5138a58 Speedup test actions. 2022-08-13 08:39:44 +08:00
winlin
d478d7b2ca Add test for crossbuild on Ubuntu20. 2022-08-12 20:12:13 +08:00
winlin
46cb4ced93 GitHub: Refine actions yaml. 2022-08-09 08:27:13 +08:00
winlin
f7280399d4 Merge 4.0release, migrate to new website. 2022-07-31 18:34:18 +08:00
winlin
588d6d510e UTEST: Refine coverage script. 2022-07-02 14:21:12 +08:00
winlin
755a2a74ed Merge branch '4.0release' into develop 2022-07-02 14:18:49 +08:00
winlin
7d0d2af817 UTEST: Refine coverage script. 2022-07-02 14:04:26 +08:00
winlin
db5d6dcd4a Support thread pool and update ossrs.net. v5.0.33 2022-06-30 07:46:29 +08:00
winlin
cd85a96255 Update SRS image for r.ossrs.net 2022-06-30 07:43:13 +08:00
winlin
0badae4797 Support thread pool and update ossrs.net. v5.0.33 2022-06-29 20:48:08 +08:00