1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-02-13 20:01:56 +00:00
Commit graph

5729 commits

Author SHA1 Message Date
winlin
ecd4527342 SquashSRS4: Use fast parse TWCCID, ignore in packet parsing 2021-03-24 14:17:52 +08:00
winlin
b7b474deba SquashSRS4: Update srs-bench. 2021-03-24 11:05:25 +08:00
winlin
25145b945d RTC: Use send_rtcp to encrypt and send RTCP bytes 2021-03-22 16:25:08 +08:00
winlin
4329c7e7cb Live: Refine edge to follow client and HTTP/302. 5.0.1 2021-03-17 16:58:40 +08:00
winlin
4f1d213c91 Live: Support follow HTTP/302 for HTTP/HTTPS FLV edge. 2021-03-17 16:53:39 +08:00
winlin
35431749c4 Live: Support follow client protocol for edge. 2021-03-17 16:48:18 +08:00
winlin
33fa43c118 Init SRS/5. 5.0.0 2021-03-15 14:11:34 +08:00
winlin
ccbc11c2d6 Test: Fix bug for srs-bench. 2021-03-12 13:10:10 +08:00
winlin
c07b7db3c5 Test: Update srs-bench. 2021-03-12 13:08:46 +08:00
winlin
57f8a1afec Update doc. 2021-03-11 17:15:33 +08:00
winlin
4f1aa924e6 SquashSRS4: Add security scan. Feed TWCC before drop PT. 2021-03-11 16:55:05 +08:00
winlin
e74810230a SquashSRS4: Regine DTLS and add regression tests. 4.0.84 2021-03-10 08:29:40 +08:00
winlin
dc93836489 SquashSRS4: Refine DTLS init, use specified API by role 2021-03-09 12:01:23 +08:00
winlin
de65a331f1 SquashSRS4: Fix DTLS config bug, dup Alert bug. 4.0.83 2021-03-08 12:39:25 +08:00
winlin
fe1b427462 Update 2021-03-06 10:46:07 +08:00
winlin
c3f057e4d3 Squash SRS4: Update README for docker 2021-03-05 10:04:18 +08:00
winlin
56b64689bf SquashSRS4: Docker: Add conf/docker.conf, daemon off, log console, enable RTC 2021-03-04 23:06:08 +08:00
winlin
817c704db7 SquashSRS4: Support fast local coverage with module 2021-03-04 17:13:24 +08:00
winlin
7d12c3641a Merge ST, support utest and coverage by gtest. 2021-03-04 15:01:14 +08:00
winlin
3bb1b673c5 Merge SRS4, lots of features 2021-03-04 14:49:03 +08:00
winlin
bb3bd1705e Refine the regression test tool, add missing files 2021-03-04 14:19:39 +08:00
winlin
876210f6c9 For regression test, add srs-bench to 3rdparty 2021-03-04 14:18:57 +08:00
winlin
de87dd427d Fix utest fail 2021-03-04 14:18:54 +08:00
winlin
5a66d15e85 Support regression test in CI. 2021-03-04 14:18:52 +08:00
winlin
212ff6fc2d Never force to openssl-1.0 for asm and srtp-asm, because openssl-1.1+libsrtp-2.3 is ok now 2021-03-04 14:18:50 +08:00
Pieere Pi
4ba485002c Fix #2106, #2011, RTMP/AAC transcode to Opus bug. 4.0.81 2021-03-04 14:17:36 +08:00
winlin
dd8f7ff09a Enable HTTP-FLV for conf/rtc.conf 2021-03-04 14:16:03 +08:00
winlin
0bc3bdc7b8 Refine gcov files 2021-03-04 14:15:52 +08:00
winlin
27712fdda7 Rename ffmpeg-4.2-fit to ffmpeg-4-fit 2021-03-04 14:14:06 +08:00
winlin
b19074721c Refine build script 2021-03-04 14:14:01 +08:00
winlin
8089fc004c Upgrade libsrtp from 2.0.0 to 2.3.0, with source code. 4.0.79 2021-03-04 14:13:58 +08:00
winlin
3749d4d833 Update doc 2021-03-04 14:13:56 +08:00
winlin
921e4041ba Update doc 2021-03-04 14:13:52 +08:00
winlin
c9d68aae79 Refine FFmpeg-4.2-fit build bug 2021-03-04 14:13:45 +08:00
winlin
812d4ebfea Refine FFmpeg-4.2-fit build, copy source code 2021-03-04 14:13:43 +08:00
winlin
98839d3d53 RTC: Fix TWCC enable bug 2021-03-04 14:13:40 +08:00
winlin
96dbd7bced Upgrade openssl from 1.1.0e to 1.1.1b, with source code. 4.0.78 2021-03-04 14:12:47 +08:00
winlin
8f1c992379 Refine code, rename drop to loss 2021-03-04 14:12:39 +08:00
winlin
d4b8a57cf7 Enable Object Cache and Zero Copy Nack by default. 4.0.77 2021-03-04 14:12:31 +08:00
winlin
57f16299f4 Fix #2219, Ubuntu build fail. Add CI for ubuntu20 2021-03-03 21:15:26 +08:00
winlin
969b947849 Hotfix 4.0.76, fix build fail for FFmpeg-fit CentOS6 2021-03-02 20:51:31 +08:00
winlin
58924d41b1 RTC: Support high performance NO-COPY-NACK. 4.0.76 2021-03-02 19:34:59 +08:00
winlin
f63441413d RTC: Support disable the NACK no-copy, enable copy by default 2021-03-02 19:34:56 +08:00
winlin
50860325dd RTC: Fix copy RTP packet bug 2021-03-02 19:34:53 +08:00
winlin
2719e4c0be Refine code 2021-03-02 19:34:50 +08:00
winlin
ee9ef378f9 RTC: Fix bug for wrap exists buffer size 2021-03-02 19:34:46 +08:00
winlin
b91d37b78a RTC: Store the actual size of buffer for RTP packet. 2021-03-02 19:34:39 +08:00
winlin
171ae5dd2d RTC: Fix shared msg cache bug 2021-03-02 19:34:37 +08:00
winlin
eed98dd85b RTC: Refine code, remove the reset for header 2021-03-02 19:34:35 +08:00
winlin
5d4baf4eca RTC: Refine code, remove the assign 2021-03-02 19:34:33 +08:00
winlin
7c517988a6 Perf: Refine header extensions marshal 2021-03-02 19:34:31 +08:00
winlin
eb9a263433 Cache RTP packet size, revert 9ee0ed919a 2021-03-02 19:34:18 +08:00
winlin
11454b3ced Perf: Avoid RTP packet copy for player NACK. 2021-03-02 19:34:12 +08:00
winlin
51a5e283fc Perf: Avoid RTP packet copy for publisher NACK. 2021-03-02 19:34:10 +08:00
winlin
74f63d6b14 RTC: Ignore NACK when disable for player. 2021-03-02 19:34:08 +08:00
winlin
0aeaf442f7 RTC: Ignore NACK when disable for player. 2021-03-02 19:34:04 +08:00
winlin
f831e9240e RTC: Fast copy shared message for RTP 2021-03-02 19:34:01 +08:00
winlin
42223b3f2e RTC: No cache for RTP packet size. 2021-03-02 19:33:59 +08:00
winlin
3728b07c49 Perf: Refine RTP packet copy 2021-03-02 19:33:56 +08:00
winlin
033f341ce1 Perf: Refine the recycle RTP packet, user should reset it 2021-03-02 19:33:49 +08:00
winlin
b1457dfc16 Perf: Refine copy RTP header. 2021-03-02 19:33:46 +08:00
winlin
81dddcbd93 RTC: Remove dead code 2021-03-02 19:33:44 +08:00
winlin
00b0e22402 Refine code 2021-03-02 19:33:42 +08:00
winlin
cca5f8db82 Refine code 2021-03-02 19:33:40 +08:00
winlin
6d64490d73 Perf: Never reset the csrc 2021-03-02 19:33:39 +08:00
winlin
0fa3646c4a Perf: Directly reference the extmap 2021-03-02 19:33:37 +08:00
winlin
e441702246 Refine code 2021-03-02 19:33:35 +08:00
winlin
e2bf9f3623 Refine code, remove goto 2021-03-02 19:33:34 +08:00
winlin
ecef3e7f0a Perf: Refine player cycle, use fast coroutine 2021-03-02 19:33:32 +08:00
winlin
29b33e6303 RTC: Disable player perf stat, because it should be refined. 2021-03-02 19:33:29 +08:00
winlin
561acd26c5 Refine code 2021-03-02 19:33:27 +08:00
winlin
db0090be05 Refine code 2021-03-02 19:33:25 +08:00
winlin
aacdc21d1c Refine object cache. 2021-03-02 19:33:23 +08:00
winlin
1e2daf9ea3 Refine comments for object cache 2021-03-02 19:33:19 +08:00
winlin
6656330d2a Perf: Use vector to replace list for object cache 2021-03-02 19:33:17 +08:00
winlin
f2d9eb345c Perf: Refine object cache, avoid dynamic cast 2021-03-02 19:33:15 +08:00
winlin
8d7a201742 RTC: Remove unused config 2021-03-02 19:33:12 +08:00
winlin
73e357a93f RTC: Support object cache pool. 4.0.75 2021-03-02 19:33:07 +08:00
winlin
8e4f252686 Support reload the object cache pool 2021-03-02 19:32:59 +08:00
winlin
501104e728 Perf: Limit the size of object cache pool 2021-03-02 19:32:56 +08:00
winlin
3989f2d553 RTC: Refine the stat logs, limit the object cache pool 2021-03-02 19:32:52 +08:00
winlin
30d760f909 RTC: Only cache the UDP packet message 2021-03-02 19:32:49 +08:00
winlin
c00d286344 Perf: Refine the stat 2021-03-02 19:32:47 +08:00
winlin
919107c674 Perf: Stat the shared messages. 2021-03-02 19:32:44 +08:00
winlin
fc4d7080c6 RTC: Cache the RTP payload objects 2021-03-02 19:32:42 +08:00
winlin
4d0863468a RTC: Cache the large buffer allocation 2021-03-02 19:32:40 +08:00
winlin
6e9cb059b3 RTC: Stat the large buffer allocation 2021-03-02 19:32:37 +08:00
winlin
4cb3a18d1e RTC: Apply RTP packet cache manager 2021-03-02 19:32:34 +08:00
winlin
86f43d4f72 RTC: Support RTP packet cache manager 2021-03-02 19:32:32 +08:00
winlin
bde86a2b23 RTC: Refine RTP packet buffer allocate, align to about 1500 bytes 2021-03-02 19:32:29 +08:00
winlin
b2d546156e RTC: Refine RTP packet api, keep shared message to private 2021-03-02 19:32:25 +08:00
winlin
0cb125e53d RTC: Refine publisher memory allocate, by packet itself 2021-03-02 19:32:16 +08:00
winlin
81060a17e6 Build: Add gcc version in cache directory 2021-03-02 19:31:53 +08:00
winlin
cec588e08a For #2188: Remove sendmmsg from ST. 2021-03-02 19:31:33 +08:00
winlin
d7bc8b98fb Fix build warning 2021-03-02 19:31:29 +08:00
winlin
048a72ab6e RTC: Refine memory allocate for publisher 2021-03-02 19:31:15 +08:00
winlin
23fa3fb350 RTC: Refine memory allocate for publisher 2021-03-02 19:31:12 +08:00
winlin
4aa82b2fbf RTC: Refine memory copy, allocate it later 2021-03-02 19:31:06 +08:00
winlin
edb8a0f497 RTC: Cache the buffer for player 2021-03-02 19:31:04 +08:00
winlin
e7529ce9dc RTC: Stat the RTP and payload objects 2021-03-02 19:31:01 +08:00
winlin
6dac180627 Kernel: Never depends on another globals for global variables 2021-03-02 19:30:56 +08:00
winlin
d8ba72fdc5 Kernel: Extract SrsPps to kernel 2021-03-02 19:30:52 +08:00
winlin
df6e47ebfc RTC: Refine stat for RTC server 2021-03-02 19:30:49 +08:00
winlin
5ff9977572 Perf: Improve fast find for pithy print 2021-03-02 19:30:46 +08:00
winlin
9ab12f9f2f RTC: Stat the drop of UDP packets. 2021-03-02 19:30:40 +08:00
winlin
b9352eac0c RTC: Refine stat logs 2021-03-02 19:30:36 +08:00
winlin
09bd1b9faa RTC Stat the detail of send packets 2021-03-02 19:30:35 +08:00
winlin
d92ceaca39 RTC: Stat the detail of received packets 2021-03-02 19:30:33 +08:00
winlin
6c24f2e353 Refine logs 2021-03-02 19:30:29 +08:00
winlin
2f1e8a6911 RTC: Refine logs 2021-03-02 19:30:26 +08:00
winlin
33f4e02072 RTC: Send NACK one by one to avoid packet freed by context switching 2021-03-02 19:30:18 +08:00
winlin
e1a840772d RTC: Refine TWCC and RTCP timer to 100ms. 2021-03-02 19:30:08 +08:00
winlin
36ea67359e RTC: Support high performance NO-COPY-NACK. 4.0.76 2021-02-28 20:27:34 +08:00
winlin
c20d8fb617 RTC: Support disable the NACK no-copy, enable copy by default 2021-02-28 18:51:27 +08:00
winlin
44aa976976 RTC: Fix copy RTP packet bug 2021-02-28 18:22:04 +08:00
winlin
2b4b6a8e65 Refine code 2021-02-28 17:47:35 +08:00
winlin
563b99701a RTC: Fix bug for wrap exists buffer size 2021-02-28 17:36:03 +08:00
winlin
8c94faf693 RTC: Store the actual size of buffer for RTP packet. 2021-02-28 17:26:08 +08:00
winlin
f6589aa370 RTC: Fix shared msg cache bug 2021-02-28 11:26:50 +08:00
winlin
75a4c8d9e5 RTC: Refine code, remove the reset for header 2021-02-28 10:06:52 +08:00
winlin
5af0bf9350 RTC: Refine code, remove the assign 2021-02-28 10:04:30 +08:00
winlin
515e4f135b Perf: Refine header extensions marshal 2021-02-28 09:51:28 +08:00
winlin
314a6dbec6 Cache RTP packet size, revert 9ee0ed919a 2021-02-28 08:23:35 +08:00
winlin
af0b50f54c Perf: Avoid RTP packet copy for player NACK. 2021-02-28 08:07:06 +08:00
winlin
8382f570dd Perf: Avoid RTP packet copy for publisher NACK. 2021-02-28 07:27:14 +08:00
winlin
3e5731d700 RTC: Ignore NACK when disable for player. 2021-02-28 07:09:27 +08:00
winlin
712dc7225a RTC: Ignore NACK when disable for player. 2021-02-28 06:56:53 +08:00
winlin
4e474a24ce RTC: Fast copy shared message for RTP 2021-02-27 23:29:52 +08:00
winlin
9ee0ed919a RTC: No cache for RTP packet size. 2021-02-27 23:10:46 +08:00
winlin
4058249d67 Perf: Refine RTP packet copy 2021-02-27 23:03:08 +08:00
winlin
8de201b635 Perf: Refine the recycle RTP packet, user should reset it 2021-02-27 22:09:06 +08:00
winlin
b71cafea58 Perf: Refine copy RTP header. 2021-02-27 22:00:00 +08:00
winlin
831a1b146f RTC: Remove dead code 2021-02-27 21:46:50 +08:00
winlin
3f36397f98 Refine code 2021-02-27 20:05:28 +08:00
winlin
f9f39234b2 Refine code 2021-02-27 19:55:57 +08:00
winlin
a254bb1817 Perf: Never reset the csrc 2021-02-27 19:49:44 +08:00
winlin
c7c0b32e56 Perf: Directly reference the extmap 2021-02-27 19:41:16 +08:00
winlin
55696ce871 Refine code 2021-02-27 18:39:09 +08:00
winlin
f83a47a0fc Refine code, remove goto 2021-02-27 17:53:59 +08:00
winlin
f4f85a98d2 Perf: Refine player cycle, use fast coroutine 2021-02-27 17:40:19 +08:00
winlin
ab601ff386 RTC: Disable player perf stat, because it should be refined. 2021-02-27 12:54:06 +08:00
winlin
f689b74cc7 Refine code 2021-02-27 12:34:12 +08:00
winlin
7c6f56affa Refine code 2021-02-27 12:33:33 +08:00
winlin
edbabf840d Refine object cache. 2021-02-27 12:32:46 +08:00
winlin
2ec03bf56a Refine comments for object cache 2021-02-27 12:14:48 +08:00
winlin
50e331ff28 Perf: Use vector to replace list for object cache 2021-02-27 11:40:46 +08:00
winlin
471cf611c6 Perf: Refine object cache, avoid dynamic cast 2021-02-27 11:23:50 +08:00
winlin
427e3e0d84 RTC: Remove unused config 2021-02-27 10:41:48 +08:00
winlin
14bfc98122 RTC: Support object cache pool. 4.0.75 2021-02-27 09:18:02 +08:00
winlin
36f55247a3 Support reload the object cache pool 2021-02-27 08:21:04 +08:00
winlin
a29d6cba68 Perf: Limit the size of object cache pool 2021-02-27 08:18:08 +08:00
winlin
7b3b7381e2 RTC: Refine the stat logs, limit the object cache pool 2021-02-27 07:41:51 +08:00
winlin
30809aee60 RTC: Only cache the UDP packet message 2021-02-26 22:55:27 +08:00
winlin
e79293a3bc Perf: Refine the stat 2021-02-26 21:35:51 +08:00
winlin
d6c0117870 Perf: Stat the shared messages. 2021-02-26 20:38:50 +08:00
winlin
bffe9c5f4b RTC: Cache the RTP payload objects 2021-02-26 20:28:05 +08:00
winlin
d5b210abc8 RTC: Cache the large buffer allocation 2021-02-26 19:46:52 +08:00
winlin
65ba88de3f RTC: Stat the large buffer allocation 2021-02-26 18:32:49 +08:00
winlin
439a7fa655 RTC: Apply RTP packet cache manager 2021-02-26 16:36:21 +08:00
winlin
1833780655 RTC: Support RTP packet cache manager 2021-02-26 16:21:59 +08:00
winlin
d7f4de6696 RTC: Refine RTP packet buffer allocate, align to about 1500 bytes 2021-02-26 13:11:56 +08:00
winlin
58d71c23bc RTC: Refine RTP packet api, keep shared message to private 2021-02-26 12:25:35 +08:00
winlin
2ae7e22469 RTC: Refine publisher memory allocate, by packet itself 2021-02-26 11:18:15 +08:00
winlin
001a6a33ce Build: Add gcc version in cache directory 2021-02-26 10:20:22 +08:00
winlin
34dae0fe0d For #2188: Remove sendmmsg from ST. 2021-02-26 09:13:21 +08:00
winlin
20374ea59f Fix build warning 2021-02-26 07:05:20 +08:00
winlin
0cd3e34900 RTC: Refine memory allocate for publisher 2021-02-25 19:16:50 +08:00
winlin
8bdf71bb7c RTC: Refine memory allocate for publisher 2021-02-25 19:15:34 +08:00
winlin
ccb24a13ad RTC: Refine memory copy, allocate it later 2021-02-25 19:02:38 +08:00
winlin
2f4fe31337 RTC: Cache the buffer for player 2021-02-25 17:56:15 +08:00
winlin
8baf0867a0 RTC: Stat the RTP and payload objects 2021-02-25 14:25:54 +08:00
winlin
1909cfb3ff Kernel: Never depends on another globals for global variables 2021-02-25 14:06:18 +08:00
winlin
20df644a05 Kernel: Extract SrsPps to kernel 2021-02-25 13:46:52 +08:00
winlin
7b7a225631 RTC: Refine stat for RTC server 2021-02-25 12:32:58 +08:00
winlin
adfca6069c Perf: Improve fast find for pithy print 2021-02-24 20:56:17 +08:00
winlin
3a7c742f07 RTC: Stat the drop of UDP packets. 2021-02-24 18:53:49 +08:00
winlin
243100817a RTC: Refine stat logs 2021-02-24 18:39:07 +08:00
winlin
3c1738b60e RTC Stat the detail of send packets 2021-02-24 17:55:27 +08:00
winlin
749a7eafef RTC: Stat the detail of received packets 2021-02-24 17:33:20 +08:00
winlin
e06d6672d5 Refine logs 2021-02-24 17:22:49 +08:00
winlin
e0eb4e2d51 RTC: Refine logs 2021-02-24 11:39:30 +08:00
winlin
0efb787f36 RTC: Send NACK one by one to avoid packet freed by context switching 2021-02-23 17:10:27 +08:00
winlin
d4aead59d4 RTC: Refine TWCC and RTCP timer to 100ms. 2021-02-19 20:25:17 +08:00
winlin
9e0120dfcd Merge branch '4.0release' into develop 2021-02-19 19:18:31 +08:00
winlin
6d3aa2c426 Refine code. 4.0.74 2021-02-19 19:17:29 +08:00
winlin
3a83a74dfc Stat: Refine stat bug for timer 2021-02-19 19:12:40 +08:00
winlin
5b8eea8cc5 Stat: Fix build fail for stat of timer and dispose 2021-02-19 19:08:16 +08:00
winlin
9c1d6ae654 Merge SRS 4.0 2021-02-19 18:56:47 +08:00
winlin
941a9aaf7a Refine timer, 4.0.73 2021-02-19 18:55:24 +08:00
winlin
6bacccd1b8 Fix utest fail 2021-02-19 18:54:16 +08:00
xialixin@kanzhun.com
fdaee20b81 For #2200, Enable RTC and FLV for GB28181 2021-02-19 18:54:12 +08:00
winlin
548fcd627b Config: Update config files, daemon off, log to console 2021-02-19 18:54:00 +08:00
winlin
61eeb781b7 Always link with pthread 2021-02-19 18:53:48 +08:00
winlin
1f621a6db3 Remove dead code: memory watch 2021-02-19 18:53:40 +08:00
winlin
c6cb0fb21f Refine scripts 2021-02-19 18:53:37 +08:00
winlin
0fe031a156 Support to disable stats by default 2021-02-19 18:53:34 +08:00
winlin
7d75f0af0f Remove dead code 2021-02-19 18:53:27 +08:00
winlin
044df17791 Fix utest fail 2021-02-19 18:53:23 +08:00
winlin
c5d2027f9a RTC: Support high performance timer about 25ms resolution. 4.0.72 2021-02-19 18:53:21 +08:00
winlin
ebcba149ae For #2194, yield for timer, for rtc player 2021-02-19 18:53:18 +08:00