winlin
b1e85664a1
Refine init of global SrsPps
2021-05-08 11:11:13 +08:00
winlin
b6f2745822
Refine init of global variables
2021-05-08 10:25:04 +08:00
winlin
e8f7c913b0
Refine global or thread-local variables initialize. 4.0.104
2021-05-08 10:16:40 +08:00
winlin
276bd2223e
SquashSRS4: Support circuit breaker
2021-05-08 10:04:44 +08:00
winlin
e7cce88912
RTC: Refine timer stat
2021-05-07 19:01:25 +08:00
winlin
25f17c32e9
RTC: Refine fast timer
2021-05-07 18:42:36 +08:00
winlin
92fc0af8f4
RTC: Support circuit breaker. 4.0.103
2021-05-07 17:43:05 +08:00
winlin
fd6c653d3c
SquashSRS4: Refine performance for FastTimer
2021-05-07 11:25:37 +08:00
winlin
46c980c70a
RTC: Eliminate unused code
2021-05-07 10:57:25 +08:00
winlin
4527a91545
RTC: Refine play stream find track. 4.0.102
2021-05-07 10:50:51 +08:00
winlin
b823dcdfd7
RTC: Refine FastTimer to fixed interval. 4.0.101
2021-05-07 10:20:00 +08:00
winlin
f995bf7ca8
SquashSRS4: Transform config for nack/twcc.
2021-05-06 17:39:10 +08:00
winlin
0c0b467917
RTC: Transform config for nack/twcc. 4.0.100
2021-05-06 17:24:20 +08:00
winlin
f41c0b42b1
SquashSRS4: Fix config bug for nack and twcc.
2021-05-06 13:50:28 +08:00
winlin
b41788ca4a
RTC: Fix config bug for nack and twcc. 4.0.99
2021-05-06 11:42:42 +08:00
winlin
4f48ad7a8b
RTC: Fix config check bug for nack and twcc
2021-05-06 11:41:11 +08:00
winlin
becbe45bcd
SquashSRS4: Add demo for RTC
2021-05-05 13:26:25 +08:00
winlin
320bff49e0
Update demos
2021-05-05 12:56:26 +08:00
winlin
37f051f16d
Update console
2021-05-05 12:54:47 +08:00
winlin
1e27db6a7d
Update players
2021-05-05 12:53:26 +08:00
winlin
a39ff09f2a
Tools: Add wx-video brocasting for demo
2021-05-04 12:47:24 +08:00
winlin
5405494de8
Tools: Refine one to one RTC demo
2021-05-04 11:42:15 +08:00
winlin
6e26da2323
Tools: Refine sig sdk for demo
2021-05-04 11:27:18 +08:00
winlin
700186b1c8
Tools: Refine random room and display for demo
2021-05-04 11:20:10 +08:00
winlin
81a87d07f6
Add video room demo. 4.0.98
2021-05-04 10:48:02 +08:00
winlin
bfeca8e068
Tools: Add video room demo
2021-05-04 10:46:56 +08:00
winlin
b42bf496c7
Tools: Update script
2021-05-03 16:11:11 +08:00
winlin
9fb2b69212
Add RTC stream merging demo by FFmpeg. 4.0.97
2021-05-03 15:53:55 +08:00
winlin
aa9c4e8604
Tools: Refine one to one demo
2021-05-03 14:36:29 +08:00
winlin
ea417201b3
Tools: Copy to gits
2021-05-03 14:27:43 +08:00
winlin
74043b4153
Tools: Update one to one demo
2021-05-03 14:13:32 +08:00
winlin
fc23b9e5f5
Tools: Refine script
2021-05-03 10:06:56 +08:00
winlin
2783ac7c92
Tools: Sync 3rdparty tools
2021-05-03 10:05:45 +08:00
winlin
dea6136238
Copy demos to SRS release
2021-05-03 08:49:16 +08:00
winlin
206d95879f
SquashSRS4: Add one to one RTC demo.
2021-05-02 21:46:41 +08:00
winlin
5e6fe49da1
Add one to one demo for no-localhost
2021-05-02 21:06:31 +08:00
winlin
5a611e0c4b
Add one to one demo. 4.0.96
2021-05-02 19:35:03 +08:00
winlin
74bb47c13f
SquashSRS4: Support RTC2RTMP.
2021-05-01 22:15:57 +08:00
winlin
f7473c90bc
For #2303 : Add conf for RTC2RTMP
2021-05-01 18:19:17 +08:00
winlin
8a30cc86d9
Bridger: Fix build fail if disable rtc and ffmpeg-fit
2021-05-01 18:16:51 +08:00
winlin
3d225973ef
Bridger: Support RTC2RTMP bridger and shared FastTimer. 4.0.95
2021-05-01 18:16:51 +08:00
winlin
c770e6d7bc
Bridger: Start RTMP2RTC bridger in RTMP publisher
2021-05-01 18:16:51 +08:00
winlin
c10232b4e2
Bridger: Refine transcoder to support aac2opus and opus2aac. 4.0.94
2021-05-01 18:16:51 +08:00
winlin
00c192ede1
Timer: Apply shared FastTimer to RTC server. 4.0.93
2021-05-01 18:16:51 +08:00
winlin
8747dd6630
Timer: Extract shared FastTimer to use one timer for all connections
2021-05-01 18:16:51 +08:00
winlin
659e173e15
RTC: Refine for writing doc. 4.0.92
2021-05-01 16:42:09 +08:00
winlin
165f97e4a0
SquashSRS3: Link source flv in doc
2021-04-30 17:04:57 +08:00
winlin
0b62216999
SquashSRS4: Support av1 for Chrome M90 enabled it.
2021-04-30 08:13:38 +08:00
Winlin
e8fe66e3ba
RTC: Support av1 for Chrome M90 enabled it. 4.0.91 ( #2324 )
...
* RTC: Support av1 for Chrome M90 enabled it. 4.0.91
* RTC: Show codec for WebRTC publisher
2021-04-30 08:09:01 +08:00
winlin
a9d39f6946
RTC: Refine API params to create connection
2021-04-29 20:30:24 +08:00
winlin
51aa899358
RTC: Refine H5 demo, extract srs.sdk.js
2021-04-29 11:50:51 +08:00
winlin
a5727c373a
Script: Remove unused git2unix.sh
2021-04-29 08:26:32 +08:00
winlin
b4b79179a7
SuqashSRS4: Update players
2021-04-28 15:52:28 +08:00
winlin
7cae97e4d3
SquashSRS3: Update players
2021-04-28 15:45:34 +08:00
winlin
ea1f32526a
RTC: Remove DTLS utest, cover by regression test
2021-04-27 18:54:10 +08:00
winlin
a300d1fc54
Fix bug for alone pithy print
2021-04-27 18:34:51 +08:00
winlin
543377ebf1
Test: Update srs-bench
2021-04-27 17:40:47 +08:00
winlin
c2229d392a
Add alone pithy print
2021-04-27 17:05:26 +08:00
winlin
e67207f4b1
Script: Refine package and install script
2021-04-26 14:20:18 +08:00
winlin
3d74b0efc9
SquashSRS4: Add crossdomain.xml for install script.
2021-04-26 13:59:29 +08:00
winlin
db37a4ac02
SquashSRS3: Add crossdomain.xml for install script.
2021-04-26 13:57:14 +08:00
winlin
f9d9f3a373
Modules: Fix build fail for global variables.
2021-04-25 13:34:57 +08:00
winlin
00a8eef580
Fix utest fail
2021-04-25 12:07:00 +08:00
winlin
eba78149ad
SquashSRS4: Change push-RTSP as deprecated feature.
2021-04-24 21:40:09 +08:00
winlin
5516d3751f
Change push-RTSP as deprecated feature.
2021-04-24 21:33:44 +08:00
winlin
d4a8a72388
SquashSRS4: Add console. Disable cherrypy by default.
2021-04-24 19:45:05 +08:00
winlin
6f66cf0868
Player: Change the default from RTMP to HTTP-FLV.
2021-04-24 19:38:49 +08:00
winlin
5232f9e043
Disable CherryPy by --cherrypy=off. 4.0.90
2021-04-24 19:26:24 +08:00
winlin
de1c7522f0
SquashSRS3: Add console
2021-04-24 19:07:37 +08:00
winlin
9ed7565789
SquashSRS3: Package srs-console
2021-04-24 17:51:05 +08:00
winlin
c95bfc4a46
Timer: Apply shared FastTimer to RTC server
2021-04-23 11:17:58 +08:00
winlin
7b413edbb7
Timer: Extract shared FastTimer to use one timer for all connections
2021-04-23 11:04:05 +08:00
winlin
7bdc9e8e96
Moduels: Refine the description
2021-04-21 11:18:35 +08:00
winlin
b29827d22c
Modules: Enable app files for module
2021-04-21 11:03:37 +08:00
winlin
aa07f45545
SquashSRS4: Happy 2021
2021-04-20 19:03:02 +08:00
winlin
cec0191b16
Happy 2021
2021-04-20 19:00:14 +08:00
winlin
8b74c7cb89
SquashSRS4: Happy 2021
2021-04-16 09:29:43 +08:00
winlin
124455be09
Update script
2021-04-16 09:27:47 +08:00
winlin
d01e603b25
Happy 2021
2021-04-16 09:25:55 +08:00
stone
3eb3cb9b51
For #2275 , fix bug for transcode engine config param.
2021-04-09 07:22:15 +08:00
stone
6da91f7dea
For #2275 , fix bug for transcode engine config param.
2021-04-09 07:19:31 +08:00
winlin
323306149d
SquashSRS4: Eliminate the dup code
2021-04-06 11:22:12 +08:00
winlin
aae0f61165
RTC: Eliminate the dup code
2021-04-06 10:56:40 +08:00
winlin
55426c6331
SquashSRS4: Fix RTC connection dispose bug
2021-04-06 10:51:42 +08:00
winlin
061f367a82
RTC: Fix RTC connection dispose bug
2021-04-06 10:50:23 +08:00
winlin
1ee77614fb
Refine comments
2021-04-05 12:14:26 +08:00
winlin
237c1e4d3d
SquashSRS4: Fix DTLS warnings for HTTP api
2021-04-05 08:29:29 +08:00
winlin
db7e820f04
RTC: Fix DTLS warnings for HTTP api
2021-04-05 08:28:16 +08:00
winlin
fcf72b48f9
SquashSRS4: Fix republish bug
2021-04-04 19:05:44 +08:00
winlin
96003d4a52
RTC: Fix bug for republish stream. 4.0.89
2021-04-04 19:01:42 +08:00
winlin
52644f50c9
SquashSRS4: Fix republish bug
2021-04-04 18:50:59 +08:00
winlin
8d9dd532b9
RTC: Fix bug for republish stream. 4.0.89
2021-04-04 18:35:02 +08:00
winlin
d80ba9d284
SquashSRS4: Fix memory leak
2021-04-01 17:35:40 +08:00
winlin
3c59fedab6
RTC: Fix memory leak
2021-04-01 17:34:47 +08:00
winlin
fa2fec3247
SquashSRS4: Refine payload NALU type parser
2021-04-01 14:48:41 +08:00
winlin
7823d75a38
RTC: Refine payload NALU type parser
2021-04-01 14:46:28 +08:00
winlin
0cc3063703
SquashSRS4: Refine TWCC and SDP exchange. 4.0.88
2021-04-01 10:55:03 +08:00
winlin
aa5d872b8c
RTC: Refine TWCC and SDP exchange. 4.0.88
2021-04-01 10:50:20 +08:00
winlin
bd1752a4b2
RTC: Fix TWCC send bug
2021-04-01 10:47:50 +08:00
winlin
7ac4a4f4ca
RTC: Fix audio track description bug
2021-04-01 10:24:37 +08:00
winlin
f4b791a9d5
Kernel: Never assert for SrsBuffer::require
2021-04-01 10:22:07 +08:00
winlin
4d5c7e0a73
RTC: Fix object cache bug, reset payload when recycle
2021-04-01 10:21:19 +08:00
winlin
45b83bd22e
SquashSRS4: Update comments and performance data
2021-03-31 18:25:12 +08:00
winlin
f2d0c34244
RTC: Refine comments for SrsRtpPacket2
2021-03-31 17:46:45 +08:00
winlin
4692e8b8ad
SquashSRS4: Support WebRTC re-publish stream.
2021-03-26 14:59:25 +08:00
winlin
d6c16a7e23
RTC: Support WebRTC re-publish stream. 4.0.87
2021-03-24 20:12:31 +08:00
winlin
aab54b2cf4
SquashSRS4: Refine RTC extension ID parsing
2021-03-24 19:00:42 +08:00
winlin
0cb05a2953
RTC: Refine ID parsing
2021-03-24 18:58:01 +08:00
winlin
ff268dca23
SquashSRS4: Eliminate dead code, we never offer
2021-03-24 15:27:07 +08:00
winlin
89f941fadc
Refine version file
2021-03-24 15:24:21 +08:00
winlin
6c7e24fc6d
RTC: Eliminate dead code, we nerver send offer
2021-03-24 15:21:40 +08:00
winlin
ecd4527342
SquashSRS4: Use fast parse TWCCID, ignore in packet parsing
2021-03-24 14:17:52 +08:00
winlin
4c39cc7c2f
RTC: Use fast parse TWCCID, ignore in packet parsing. 4.0.86
...
1. TWCC should not be passed from end to end.
2. Publisher TWCC information, should be ignore when pass to player
3. Player should regenerate its own TWCC.
2021-03-24 12:29:17 +08:00
winlin
b7b474deba
SquashSRS4: Update srs-bench.
2021-03-24 11:05:25 +08:00
winlin
f5ff28d47a
RTC: Refine play stream init
2021-03-24 10:50:13 +08:00
winlin
3fea5c0ec3
Test: Add republish regression test, should fail
2021-03-23 19:32:59 +08:00
winlin
bb37a5550c
Test: Update srs-bench
2021-03-23 12:12:01 +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
a3dbb22696
Fix bugs. 4.0.85
2021-03-11 17:12:44 +08:00
winlin
4f1aa924e6
SquashSRS4: Add security scan. Feed TWCC before drop PT.
2021-03-11 16:55:05 +08:00
winlin
a53fe451ff
RTC: Feed TWCC then drop the specified PT packet.
...
1. Sometimes we might drop RTP packets, by PT(payload type).
2. For example, the padding packets from client.
3. We should feed these packets to TWCC, then drop it.
2021-03-11 16:48:29 +08:00
winlin
7f8df6f21f
Build: Refine script for SRTP.
...
Because we have upgraded to openssl-1.1.1d and libsrtp-2.3,
so it's able to enable ASM for SRTP for not only openssl-1.0,
because libsrtp-2.3 fixed the capacity bug.
2021-03-11 08:16:25 +08:00
winlin
e74810230a
SquashSRS4: Regine DTLS and add regression tests. 4.0.84
2021-03-10 08:29:40 +08:00
winlin
f066914968
Test: Add missing files.
2021-03-10 07:38:11 +08:00
winlin
27d4080084
Test: Fix check file bug
2021-03-10 07:26:18 +08:00
winlin
030b94e717
Test: Add missing files for srs-bench
2021-03-10 07:03:57 +08:00
winlin
06f2e1462e
DTLS: Update regression tests
2021-03-09 22:26:50 +08:00
winlin
d4d11c2c18
DTLS: Change max loop to larger
2021-03-09 22:19:32 +08:00
winlin
62987aa01f
DTLS: Refine retransmit between ClientHello and Certificate.
2021-03-09 22:12:23 +08:00
winlin
02aac0fea4
DTLS: Fix ARQ bug, use openssl timeout. 4.0.84
2021-03-09 19:36:45 +08:00
winlin
dc93836489
SquashSRS4: Refine DTLS init, use specified API by role
2021-03-09 12:01:23 +08:00
winlin
3c6e466280
DTLS: Use specified init API, to decrease packet size
2021-03-09 11:54:27 +08:00
winlin
3a5d88b435
DTLS: Disable QueryMTU for openssl, or the packet get fragmented
2021-03-09 07:22:11 +08:00
winlin
079c54bbe7
Add important comment for ST
2021-03-09 07:21:07 +08:00
winlin
55bdc354f5
Add important comment for disposing and thread stop
2021-03-08 21:05:02 +08:00
winlin
de65a331f1
SquashSRS4: Fix DTLS config bug, dup Alert bug. 4.0.83
2021-03-08 12:39:25 +08:00
winlin
e4df2eb2ce
DTLS: Fix dead loop by duplicated Alert message. 4.0.83
2021-03-08 12:35:16 +08:00
winlin
1ed567a005
DTLS: Fix dead loop by duplicated Alert message
2021-03-08 12:34:15 +08:00
winlin
43028c99c8
Fix bug when client DTLS is passive. 4.0.82
2021-03-08 10:41:42 +08:00
winlin
fe1b427462
Update
2021-03-06 10:46:07 +08:00
winlin
fc4f539907
Should check bridger status when publish stream.
2021-03-05 16:47:47 +08:00
winlin
c3f057e4d3
Squash SRS4: Update README for docker
2021-03-05 10:04:18 +08:00
winlin
c143b6bfd0
Squash SRS3: Update README for docker
2021-03-05 09:53:15 +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
83c615aa8a
SquashSRS3: Docker: Add conf/docker.conf, daemon off, log console, enable RTC
2021-03-04 22:45:43 +08:00
winlin
817c704db7
SquashSRS4: Support fast local coverage with module
2021-03-04 17:13:24 +08:00
winlin
990dc8cda9
Script: Fast coverage support module filter
2021-03-04 17:10:12 +08:00
winlin
d6a6f98a70
Script: Support local fast coverage by gcovr
2021-03-04 17:10:12 +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
winlin
df1eca10fb
For #2194 , yield for timer, for rtc publisher
2021-02-19 18:53:16 +08:00
winlin
a049ce3fb7
For #2194 , Core: Refine yield for high performance timer.
2021-02-19 18:53:14 +08:00
winlin
a5a96491a3
For #2194 , yield for timer, for live publisher
2021-02-19 18:53:13 +08:00
winlin
d1bcc03d9a
For #2194 , yield for high performance timer, for live player
2021-02-19 18:53:10 +08:00
winlin
c0fda42743
For #2194 , Support ST yield
2021-02-19 18:53:08 +08:00
winlin
b4b9776b02
Core: Support yield current coroutine for high performance timer.
2021-02-19 18:53:03 +08:00
winlin
d8563398b2
Clock: Update stat. Insert timer to execute first
2021-02-19 18:53:02 +08:00
winlin
f987198af0
Clock: Use one system wall clock
2021-02-19 18:52:58 +08:00
winlin
9db7126eb4
Core: Refine ST stat for thread switch
2021-02-19 18:52:56 +08:00
winlin
15f7fa2c36
Core: Refine ST stat for io events
2021-02-19 18:52:54 +08:00
winlin
12d7e57011
Core: Refine sched and clock stat
2021-02-19 18:52:53 +08:00
winlin
c2332f9e55
Core: Use 20ms wall clock
2021-02-19 18:52:49 +08:00
winlin
bddc787a16
Refine the pps.
2021-02-19 18:52:35 +08:00
winlin
70fb647ac9
Perf: Add stat for sched of ST.
2021-02-19 18:52:27 +08:00
winlin
e91e0eaf46
Perf: Add stat for io of ST.
2021-02-19 18:52:12 +08:00
winlin
181c9f25ed
Live: Support connect origin by HTTP-FLV/HTTPS-FLV
2021-02-19 18:16:05 +08:00
winlin
37679f2acc
Fix utest fail
2021-02-19 11:18:42 +08:00
xialixin@kanzhun.com
4df6fa540f
For #2200 , Enable RTC and FLV for GB28181
2021-02-18 21:51:49 +08:00
winlin
adb6f723c7
Config: Update config files, daemon off, log to console
2021-02-18 11:39:25 +08:00
winlin
57919e4351
Refine code, move SRS adapter.
2021-02-15 20:01:49 +08:00
winlin
d8e27c3845
Always link with pthread
2021-02-15 19:47:02 +08:00
winlin
4ef1acb700
Remove dead code: memory watch
2021-02-15 19:33:40 +08:00
winlin
0898a1a7ea
Refine scripts
2021-02-15 19:24:23 +08:00
winlin
25be6d6bc0
Support to disable stats by default
2021-02-15 13:09:13 +08:00
winlin
f17fa69deb
Remove dead code
2021-02-15 12:43:41 +08:00
winlin
3147c8f9bc
Fix utest fail
2021-02-15 12:37:16 +08:00
winlin
b1e7e19fd1
RTC: Support high performance timer about 25ms resolution. 4.0.72
2021-02-12 09:31:18 +08:00
winlin
ccb79bc7eb
For #2194 , yield for timer, for rtc player
2021-02-11 23:10:08 +08:00
winlin
5a28e658a4
For #2194 , yield for timer, for rtc publisher
2021-02-11 22:49:54 +08:00
winlin
a04dd7ed30
For #2194 , Core: Refine yield for high performance timer.
2021-02-11 22:49:08 +08:00
winlin
4fc1a19415
For #2194 , yield for timer, for live publisher
2021-02-11 22:03:00 +08:00
winlin
211b05fc64
For #2194 , yield for high performance timer, for live player
2021-02-11 21:15:26 +08:00
winlin
76d6449317
For #2194 , Support ST yield
2021-02-11 21:14:45 +08:00
winlin
79f9cd6b3a
Core: Support yield current coroutine for high performance timer.
2021-02-11 21:04:09 +08:00
winlin
321f555e30
Clock: Update stat. Insert timer to execute first
2021-02-11 17:34:03 +08:00
winlin
fb61a6979c
Clock: Use one system wall clock
2021-02-11 13:39:43 +08:00
winlin
71cc8e35d9
Core: Refine ST stat for thread switch
2021-02-11 13:26:20 +08:00
winlin
e726aba8f9
Core: Refine ST stat for io events
2021-02-11 12:07:38 +08:00
winlin
cde456710d
Core: Refine sched and clock stat
2021-02-11 09:39:09 +08:00
winlin
ff388b2f38
Core: Use 20ms wall clock
2021-02-11 09:15:05 +08:00
winlin
99b4866717
Refine the pps.
2021-02-10 21:20:49 +08:00
winlin
a46debb4bb
Perf: Add stat for sched of ST.
2021-02-10 20:00:33 +08:00
winlin
7b913b1115
Perf: Add stat for io of ST.
2021-02-10 18:20:11 +08:00
winlin
7a96b28735
Merge 4.0release
2021-02-10 16:32:30 +08:00
winlin
b431ad738c
RTC: Refine performance about 700+ streams. 4.0.71
2021-02-10 16:28:11 +08:00
winlin
b7c7d6566f
Fix build fail
2021-02-10 16:27:09 +08:00
winlin
2aa94c643c
Refine server stat, extract to hybrid server stat
2021-02-10 16:19:51 +08:00
winlin
6b260d6021
Fix utest fail
2021-02-10 16:17:01 +08:00
winlin
7114682eec
Timer: Apply timer(HourGlass) to server and sources
2021-02-10 16:16:58 +08:00
winlin
77cffd3e04
Main: Refine sever manager.
2021-02-10 16:16:56 +08:00
winlin
f9bd84109b
Timer: Refine the hour glass, support stop
2021-02-10 16:16:52 +08:00
winlin
4a37fe30c7
RTC: Refine RTP header, never extends from any class
2021-02-10 16:16:49 +08:00
winlin
6feaeace27
RTC: Send NACK by timer, no by RTP packet
2021-02-10 16:16:42 +08:00
winlin
d2e728812b
RTC: Send NACK by timer, no by RTP packet
2021-02-10 16:14:58 +08:00
winlin
5919865e5d
RTC: Refine NACK check, interval, time
2021-02-10 16:14:54 +08:00
winlin
627688c582
RTC: Update stat for received nack
2021-02-10 16:14:47 +08:00
winlin
44c85cc3d2
RTC: Never copy the packet for hijack.
2021-02-10 16:13:25 +08:00
winlin
81db13f27f
RTC: Update stat for nack
2021-02-10 16:13:18 +08:00
winlin
51e630d53c
RTC: For RTP packet, never switch to context of session except error.
2021-02-10 16:11:07 +08:00
winlin
154ae9b4eb
RTC: Update stat for twcc and rr
2021-02-10 16:10:42 +08:00
winlin
86d615f27e
RTC: Print stat for pli and timer every 5s. 4.0.70
2021-02-10 16:08:04 +08:00
winlin
9a0e5bc979
RTC: Fix udp recvfrom bug
2021-02-10 16:07:42 +08:00
winlin
ccb6c49029
RTC: Refine timer to 20ms, twcc to 40ms
2021-02-10 15:58:11 +08:00
winlin
d069346f6b
Update server stat for fast-id search
2021-02-10 15:58:08 +08:00
winlin
84afeaf433
Update server stat for fast-id search
2021-02-10 15:58:05 +08:00
winlin
44f5ca6a35
Update server stat for fast-id search
2021-02-10 15:58:03 +08:00
winlin
5ae47725e6
SRS: Refine the UDP address parsing, no string
2021-02-10 15:58:01 +08:00
winlin
ca3ac467a3
RTC: Stat the UDP packets and addresses
2021-02-10 15:57:58 +08:00
winlin
2b73c1c7e6
RTC: Refine the UDP address parsing, no string
2021-02-10 15:57:57 +08:00
winlin
52609ea2f0
RTC: Use vector for fast search fast-id
2021-02-10 15:57:55 +08:00
winlin
7f4d8a40e9
RTC: Refine the SRTP protect api
2021-02-10 15:57:52 +08:00
winlin
2989e6c9c3
Fix build fail
2021-02-10 15:57:49 +08:00
winlin
949044d773
RTC: Refine SRTP unprotect rtp and rtcp, without copy
2021-02-10 15:57:44 +08:00
winlin
aec27450e8
RTC: Refine unprotect_rtp to reuse cipher
2021-02-10 15:57:41 +08:00
winlin
719df6fa41
RTC: Parse TWCC SN fastly.
2021-02-10 15:57:38 +08:00
winlin
79a6907a65
RTC: Parse PT fast and refine udp handler. 4.0.69
2021-02-10 15:57:37 +08:00
winlin
826546d518
Refine pps add SrsPps
2021-02-10 15:57:29 +08:00
winlin
c3414a30dc
RTC: Refine UDP packet peer fast id. 4.0.68
2021-02-10 15:57:25 +08:00
winlin
e95fd10462
RTC: Don't parse RTP header if no twcc
2021-02-10 15:57:23 +08:00
winlin
49a772770f
Refine code
2021-02-10 15:57:21 +08:00
winlin
fec088972d
RTC: Fix bug for header parsing
2021-02-10 15:57:17 +08:00
winlin
e17d20c8fa
RTC: Refine static cast for RTC connection
2021-02-10 15:57:16 +08:00
winlin
a5b21c159f
RTC: Support disable nack
2021-02-10 15:57:13 +08:00
winlin
2b60112130
RTC: Support disable nack
2021-02-10 15:57:12 +08:00
winlin
dffbebfe6f
RTC: Fast parse ssrc and find the publisher
2021-02-10 15:57:03 +08:00
winlin
5f31868ce6
RTC: Refine publish stream by find publisher
2021-02-10 15:57:00 +08:00
winlin
6fa3b8212c
Update ST doc
2021-02-10 15:56:43 +08:00
winlin
301904467a
Update .gitignore
2021-02-10 15:56:34 +08:00
winlin
b0208029bb
RTC: Reuse UDP socket to receive packet. 4.0.67
2021-02-10 15:55:35 +08:00
winlin
9ada516e98
At least wait 1ms when <1ms, to avoid epoll_wait spin loop. 4.0.66
2021-02-10 15:55:01 +08:00
winlin
5eafcea895
RTC: Refine performance for UDP recv context id switch
2021-02-10 15:48:20 +08:00
winlin
b7f5fa7c9d
RTC: Fix NACK remove loop bug
2021-02-10 15:48:15 +08:00
winlin
4bcfce7ff1
RTC: Refine is_alive code
2021-02-10 15:48:12 +08:00
winlin
aeca278de0
RTC: Refine log for twcc large timer
2021-02-10 15:47:54 +08:00
winlin
e776e0eca7
Refine server stat, extract to hybrid server stat
2021-02-10 13:07:26 +08:00
winlin
152c161de3
Fix utest fail
2021-02-09 21:56:30 +08:00
winlin
a357c013cd
Timer: Apply timer(HourGlass) to server and sources
2021-02-09 17:15:25 +08:00
winlin
ee1d06c613
Main: Refine sever manager.
2021-02-09 12:44:56 +08:00
winlin
98c29a1494
Timer: Refine the hour glass, support stop
2021-02-09 11:54:08 +08:00
winlin
45834b805b
RTC: Refine RTP header, never extends from any class
2021-02-09 10:53:44 +08:00
winlin
b189fc3fac
RTC: Send NACK by timer, no by RTP packet
2021-02-08 18:28:32 +08:00
winlin
407ae1d7f6
RTC: Send NACK by timer, no by RTP packet
2021-02-08 17:19:20 +08:00
winlin
abc26d470b
RTC: Refine NACK check, interval, time
2021-02-08 16:24:12 +08:00
winlin
d505bb6ea6
RTC: Update stat for received nack
2021-02-08 16:23:13 +08:00
winlin
43d4240a30
RTC: Never copy the packet for hijack.
2021-02-08 15:32:56 +08:00
winlin
d01a429c13
RTC: Update stat for nack
2021-02-08 14:14:27 +08:00
winlin
e31169d306
RTC: For RTP packet, never switch to context of session except error.
2021-02-08 13:17:22 +08:00
winlin
515529eba9
RTC: Update stat for twcc and rr
2021-02-08 13:16:07 +08:00
winlin
4539ffa086
RTC: Print stat for pli and timer every 5s. 4.0.70
2021-02-08 11:51:48 +08:00
winlin
18c27111e0
RTC: update stat for pli, timer and dispose
2021-02-08 11:45:34 +08:00
winlin
aefd7fccd0
RTC: Fix udp recvfrom bug
2021-02-08 08:25:35 +08:00
winlin
3d34eb33e5
Fix utest fail
2021-02-07 22:11:35 +08:00
winlin
b4282a6ee1
Fix build fail
2021-02-07 21:39:09 +08:00
winlin
a43f339aa6
Update server stat for cid
2021-02-07 21:33:24 +08:00
winlin
102434b3d5
Context: Use key of thread to store context
2021-02-07 21:31:39 +08:00
winlin
33ab785ce9
RTC: Refine timer to 20ms, twcc to 40ms
2021-02-07 21:08:42 +08:00
winlin
83ab551396
Update server stat for fast-id search
2021-02-07 20:58:24 +08:00
winlin
cbfec753f0
Update server stat for fast-id search
2021-02-07 20:57:22 +08:00
winlin
af499094f8
Update server stat for fast-id search
2021-02-07 20:54:06 +08:00
winlin
ec0d68d6b0
SRS: Refine the UDP address parsing, no string
2021-02-07 20:27:40 +08:00
winlin
638a94ade2
RTC: Stat the UDP packets and addresses
2021-02-07 20:12:54 +08:00
winlin
d41a925694
RTC: Refine the UDP address parsing, no string
2021-02-07 20:05:36 +08:00
winlin
95193979f4
RTC: Use vector for fast search fast-id
2021-02-07 19:31:46 +08:00
winlin
ef279a8b1e
RTC: Refine the SRTP protect api
2021-02-07 16:57:48 +08:00
winlin
864356c9bd
Fix build fail
2021-02-07 16:32:34 +08:00
winlin
9f91351f3c
RTC: Refine SRTP unprotect rtp and rtcp, without copy
2021-02-07 16:21:25 +08:00
winlin
0c07459d19
RTC: Refine unprotect_rtp to reuse cipher
2021-02-07 16:04:19 +08:00
winlin
9a9efb8546
RTC: Parse TWCC SN fastly.
2021-02-07 15:48:46 +08:00
winlin
d184b5662c
RTC: Parse PT fast and refine udp handler. 4.0.69
2021-02-07 12:44:00 +08:00
winlin
668f8cbf6c
Refine pps add SrsPps
2021-02-06 18:05:04 +08:00
winlin
8cb5cab717
RTC: Refine UDP packet peer fast id. 4.0.68
2021-02-05 18:04:29 +08:00
winlin
7bb04998af
RTC: Don't parse RTP header if no twcc
2021-02-05 17:15:19 +08:00
winlin
05441d6354
Refine code
2021-02-05 17:10:42 +08:00
winlin
fd605fc4ac
RTC: Fix bug for header parsing
2021-02-05 17:05:46 +08:00
winlin
9c17721eb9
RTC: Refine static cast for RTC connection
2021-02-05 17:02:08 +08:00
winlin
d526e170a5
RTC: Support disable nack
2021-02-05 15:58:54 +08:00
winlin
d0c0f26160
RTC: Support disable nack
2021-02-05 15:52:44 +08:00
winlin
80985c7307
RTC: Fast parse ssrc and find the publisher
2021-02-05 14:13:48 +08:00
winlin
cd06f2da0c
RTC: Refine publish stream by find publisher
2021-02-05 14:07:24 +08:00
winlin
f3806126c4
Research: Add udp connect
2021-02-05 11:07:53 +08:00
winlin
de3ec74657
Update ST doc
2021-02-05 10:20:23 +08:00
winlin
960f48721f
Update .gitignore
2021-02-05 09:55:21 +08:00
winlin
2b85ad1f60
RTC: Reuse UDP socket to receive packet. 4.0.67
2021-02-04 17:27:32 +08:00
winlin
cfddc8f266
At least wait 1ms when <1ms, to avoid epoll_wait spin loop. 4.0.66
2021-02-04 16:51:47 +08:00
winlin
19a7c7682e
RTC: Refine performance for UDP recv context id switch
2021-02-04 15:48:58 +08:00
winlin
ec01f94b17
RTC: Fix NACK remove loop bug
2021-02-03 19:08:33 +08:00
winlin
0c89e899bd
RTC: Refine is_alive code
2021-02-03 18:58:07 +08:00
winlin
1db8a3c92e
RTC: Refine log for twcc large timer
2021-02-02 18:05:23 +08:00
winlin
076182cde2
Pick from develop. 4.0.65
2021-01-31 18:08:50 +08:00
winlin
d92bbe7558
RTC: Support eip with port
2021-01-31 18:07:43 +08:00
winlin
3fa767f3cc
Build: Support --ssl-local to rebuild openssl even system exists
2021-01-31 18:07:39 +08:00
winlin
cd83054759
ST: Update doc
2021-01-31 18:07:36 +08:00
winlin
09224ea7e0
ST: Update doc
2021-01-31 18:07:31 +08:00
winlin
6e3bd61599
Enable --nasm and --srtp-asm by default for performance. 4.0.64
2021-01-31 18:07:20 +08:00
winlin
945cf64024
Refine srs_player
2021-01-31 18:06:55 +08:00
winlin
f006bf59b1
Support HTTP-FLV and HLS for srs-player by H5. 4.0.63
2021-01-31 18:06:52 +08:00
winlin
979bf86e8b
Support HTTP-FLV and HLS for srs-player by H5. 4.0.63
2021-01-31 18:06:49 +08:00
winlin
5c41766b79
Support HTTP-FLV and HLS for srs-player by H5. 4.0.63
2021-01-31 18:06:46 +08:00
winlin
b373400257
RTC: Extract NACK handler from stream to track.
2021-01-31 18:06:40 +08:00
winlin
40ea0b67f9
RTC: Refine RTP packet decoder to track and stream
2021-01-31 18:05:51 +08:00
winlin
0fe85a295c
Refine options with default value
2021-01-31 18:05:26 +08:00
winlin
b9a5d4beb6
Refine options with default value
2021-01-31 18:05:07 +08:00
winlin
1615c3df6c
RTC: Refine code
2021-01-31 17:59:59 +08:00
winlin
ec2535b183
RTC: Refine code
2021-01-31 17:59:46 +08:00
winlin
62909bb2d0
Merge branch '4.0release' into develop
2021-01-31 17:56:58 +08:00
winlin
0848574902
Research: Add c++11 thread-local
2021-01-31 17:27:47 +08:00
winlin
73c4b1cb6e
RTC: Enable -std=c++11 by default. 4.0.65
2021-01-31 14:54:51 +08:00
winlin
e5391ff93d
RTC: Support eip with port
2021-01-30 21:36:17 +08:00
winlin
849703bca1
Build: Support --ssl-local to rebuild openssl even system exists
2021-01-26 17:54:44 +08:00
winlin
5678e8e1e7
ST: Update doc
2021-01-26 09:03:39 +08:00
winlin
6ecda1c79e
ST: Update doc
2021-01-26 08:58:22 +08:00
winlin
f6720c18c6
Enable --nasm and --srtp-asm by default for performance. 4.0.64
2021-01-25 22:23:42 +08:00
winlin
10205e8cc1
Refine srs_player
2021-01-20 21:06:57 +08:00
winlin
4514947e67
Support HTTP-FLV and HLS for srs-player by H5. 4.0.63
2021-01-20 20:47:57 +08:00
winlin
f01da568cb
Support HTTP-FLV and HLS for srs-player by H5. 4.0.63
2021-01-20 20:36:30 +08:00
winlin
618333cdd1
Support HTTP-FLV and HLS for srs-player by H5. 4.0.63
2021-01-20 18:59:14 +08:00
winlin
e2bdacb337
RTC: Extract NACK handler from stream to track.
2021-01-19 17:05:40 +08:00
winlin
f2d45442c1
RTC: Refine RTP packet decoder to track and stream
2021-01-19 15:56:42 +08:00
winlin
0c56d11605
Refine options with default value
2021-01-18 17:32:14 +08:00
winlin
1371a47962
Refine options with default value
2021-01-18 17:28:51 +08:00
winlin
e26b685169
Refine script
2021-01-18 12:34:11 +08:00
winlin
09011eea3a
RTC: Refine code
2021-01-17 20:30:10 +08:00
winlin
aaa3918a72
RTC: Refine code
2021-01-16 09:52:36 +08:00
winlin
4bb3ad5637
For #2142 , Fix bug for fixing memory leak for bridger. 4.0.62
2021-01-15 16:58:23 +08:00
winlin
4e70bf5eaf
For #2142 , Fix memory leak for bridger of RTC source stream. 4.0.61
2021-01-15 14:16:32 +08:00
winlin
50bb9eb391
Revert "For #2142 , RTC: Fix memory leak"
...
This reverts commit 2492b726af
.
2021-01-15 13:31:58 +08:00
winlin
ed32965aa4
Revert "Fix #2142 , Async release bridger when unpublish. 4.0.60"
...
This reverts commit 06adb9dc42
.
2021-01-15 13:30:52 +08:00
winlin
06adb9dc42
Fix #2142 , Async release bridger when unpublish. 4.0.60
2021-01-14 19:12:01 +08:00
winlin
10ffb2da36
HTML5 video tag resolution adaptive. 4.0.59
2021-01-08 14:16:20 +08:00
winlin
26dec1b037
Release 4.0.58
...
Merge #2109 , Fix bugs for GB28181.
Merge #2109 , Refine srs_string_split.
Fix memory leak and bugs for RTC.
2021-01-08 14:16:11 +08:00
winlin
b6843428c6
Fix build warnings
2021-01-08 14:09:28 +08:00
winlin
81d78310a0
Fix build warnings
2021-01-08 13:29:32 +08:00
winlin
61f62ceec6
Fix build warnings
2021-01-08 11:48:56 +08:00
winlin
473942c6f6
Kernel: Add utest for srs_string_split
2021-01-08 10:27:12 +08:00
winlin
8580b1e5fb
Merge branch '4.0release' into develop
2021-01-07 18:02:42 +08:00
winlin
f8266fe3b7
Add usage for --cherrypy=on|off when configure
2021-01-07 18:02:24 +08:00
winlin
bfa156247c
Merge branch '4.0release' into develop
2021-01-07 17:47:54 +08:00
winlin
6c7ffdeedf
Merge branch '3.0release' into 4.0release
2021-01-07 17:27:33 +08:00
winlin
d520679547
Refine code for changing id of stat to string
2021-01-07 17:27:30 +08:00
winlin
4f013404e3
Refine stat id
2021-01-07 17:09:33 +08:00
winlin
1c41f5d796
Merge SRS3, change id of stat to string
2021-01-07 17:04:11 +08:00
winlin
fb7c051833
Change id from int to string for the statistics. 3.0.157
2021-01-07 16:47:49 +08:00
johzzy
3c14a96bdd
fix: html5 video tag resolution adaptive. ( #2128 )
2021-01-07 13:47:30 +08:00
winlin
248085edfe
For #2109 , Add more utest for srs_string_split
2021-01-07 12:30:51 +08:00
winlin
2492b726af
RTC: Fix memory leak
2021-01-07 11:45:03 +08:00
xbpeng121
47422b7819
GB28181: 无法对接平台问题及一些小bug ( #2109 )
...
* 1-新增srs_string_split2函数,该函数支持空串也能按照原有顺序进行切分并放入数组
2-SrsGb28181Device增加属性字段,并在收到catalog命令时能够更新该属性
3-修复sip包解包不严谨bug(body中有可能会有SRS_RTSP_CRLFCRLF那么导致header_body[1]就不一定是body了可能只是body的一部分)
* 1-修复停用rtp多路复用参数(invite_port_fixed)不起作用bug
* bugfix: 当srs发送invite时会指定一个ssrc作为流媒体序列号,但有些平台发流时并不使用这个作为ssrc,而是自己新生成一个。(修复该bug是在invite response时解析内容中的sdp,把对方生成的流媒体序列号ssrc读出来,并且更新srs的channel映射)
* Update push.gb28181.conf
恢复成原来的conf
* bugfix,在取得muxer时需要更新。之前写反了
* Merge branch 'develop' into 4.0release
* 解决冲突时,优先选择原有代码(还原选择develop的代码)
* 解决冲突时,优先选择原有代码(还原选择develop的代码)
* 解决冲突时,优先选择原有代码(还原选择develop的代码)
* 解决冲突时,优先选择原有代码(还原选择develop的代码)
* 修改sdp_map相同属性的连接符
* 解决冲突时,优先选择原有代码(还原选择develop的代码)
* 修改sdp_map相同属性的连接符
* 解决冲突时,优先选择原有代码(还原选择develop的代码)
* 解决冲突时,优先选择原有代码(还原选择develop的代码)
* 回退原来代码
* 删除parse_sdp存储至map相关代码
* 格式恢复
* 格式恢复
* 恢复格式
* srs_string_split() 函数的bugfix
Co-authored-by: xbpeng <xianbin.peng@sibat.cn>
2021-01-06 15:37:02 +08:00
winlin
6cf93557e1
RTC: Fix publish RTC ssrc bug
2021-01-06 12:15:04 +08:00
winlin
fbbdf5ba0e
RTC: Fix audio track NULL bug
2021-01-05 18:38:11 +08:00
winlin
040893efde
Add research for UDP binding
2021-01-05 18:30:39 +08:00
winlin
155587d2c1
RTC: Fix parse error stap playload crash bug
2021-01-05 10:56:05 +08:00
winlin
ebe38f7337
RTC: Fix RTX bug
2021-01-03 20:01:53 +08:00
winlin
78fcaaf7b1
RTC: Fix memory leak
2020-12-30 16:03:28 +08:00
winlin
03389f5e8c
Merge branch '4.0release' into develop
2020-12-27 12:56:45 +08:00