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
25145b945d
RTC: Use send_rtcp to encrypt and send RTCP bytes
2021-03-22 16:25:08 +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
de65a331f1
SquashSRS4: Fix DTLS config bug, dup Alert bug. 4.0.83
2021-03-08 12:39:25 +08:00
winlin
43028c99c8
Fix bug when client DTLS is passive. 4.0.82
2021-03-08 10:41:42 +08:00
winlin
98839d3d53
RTC: Fix TWCC enable bug
2021-03-04 14:13:40 +08:00
winlin
f63441413d
RTC: Support disable the NACK no-copy, enable copy by default
2021-03-02 19:34:56 +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
0aeaf442f7
RTC: Ignore NACK when disable for player.
2021-03-02 19:34:04 +08:00
winlin
033f341ce1
Perf: Refine the recycle RTP packet, user should reset it
2021-03-02 19:33:49 +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
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
f2d9eb345c
Perf: Refine object cache, avoid dynamic cast
2021-03-02 19:33:15 +08:00
winlin
4d0863468a
RTC: Cache the large buffer allocation
2021-03-02 19:32:40 +08:00
winlin
4cb3a18d1e
RTC: Apply RTP packet cache manager
2021-03-02 19:32:34 +08:00
winlin
0cb125e53d
RTC: Refine publisher memory allocate, by packet itself
2021-03-02 19:32:16 +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
6dac180627
Kernel: Never depends on another globals for global variables
2021-03-02 19:30:56 +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
2f1e8a6911
RTC: Refine logs
2021-03-02 19:30:26 +08:00
winlin
e1a840772d
RTC: Refine TWCC and RTCP timer to 100ms.
2021-03-02 19:30:08 +08:00
winlin
3a83a74dfc
Stat: Refine stat bug for timer
2021-02-19 19:12:40 +08:00
winlin
f987198af0
Clock: Use one system wall clock
2021-02-19 18:52:58 +08:00
winlin
e91e0eaf46
Perf: Add stat for io of ST.
2021-02-19 18:52:12 +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
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
ccb6c49029
RTC: Refine timer to 20ms, twcc to 40ms
2021-02-10 15:58:11 +08:00
winlin
7f4d8a40e9
RTC: Refine the SRTP protect api
2021-02-10 15:57:52 +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
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
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
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
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
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
6cf93557e1
RTC: Fix publish RTC ssrc bug
2021-01-06 12:15:04 +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
jinxue.cgh
7f081b4178
RTC: Refine TWCC from 200ms to 50ms
2020-12-23 15:13:21 +08:00
jinxue.cgh
5309dbe18b
RTC: Refine RTCP process
2020-12-07 21:40:51 +08:00
winlin
18ae8d8571
RTC: Fix SDP bug for firefox
2020-12-03 10:58:46 +08:00
winlin
aad7c448bf
For #1998 , Support Firefox.
2020-12-02 18:23:57 +08:00
winlin
0c113ff084
For #1998 , support firefox
2020-12-02 17:29:05 +08:00
winlin
c5457e8241
RTC: Support unified-plan
2020-12-02 12:54:29 +08:00
莫战
b38f30c3ee
support query parsing and escape
2020-12-01 16:27:37 +08:00
jinxue.cgh
58b75c6f1b
tfsfu: add play red pt negotiate
2020-12-01 13:37:42 +08:00
winlin
140f8b0fce
For #1998 , refine PT for firefox, support RED
2020-12-01 13:25:53 +08:00
winlin
7136af21de
For #1998 , TODO: FIME: Should check packetization-mode=1 also.
2020-11-13 08:49:21 +08:00
winlin
5d27c62e95
For #1998 , fix fetch remote payload bug. 4.0.56
2020-11-13 08:48:51 +08:00
winlin
4650d47082
For #1998 , Support Firefox, use PT in offer. 4.0.55
2020-11-12 18:38:30 +08:00
winlin
a28f98581e
Refine cid for source
2020-10-31 22:04:53 +08:00
winlin
fb6c2fdf80
RTC: Use event notify for stream source
2020-09-23 19:29:19 +08:00
jinxue.cgh
2b47b42213
RTC: Refine PLI request log.
2020-09-21 17:03:48 +08:00
winlin
7c682a99c9
RTC: Set to alive when got any packet
2020-09-19 11:04:54 +08:00
winlin
64705d1cc8
RTC: Refine resouce management
2020-09-19 10:30:05 +08:00
winlin
2a3b5e5290
RTC: Fix mid generation bug
2020-09-16 19:59:49 +08:00
winlin
c8af9e9ec4
RTC: Use transformed mid, not the mid of track.
2020-09-15 12:12:46 +08:00
winlin
69595089ee
RTC: If not exists 42e01f, we pick up any profile such as 42001f.
2020-09-14 17:19:21 +08:00
winlin
dd7587c497
Dispose session when DTLS alert
2020-09-14 10:47:06 +08:00
winlin
66c680edb1
Refine code, use SrsConnectionManager
2020-09-11 18:55:18 +08:00
winlin
60c759919f
Refine code
2020-09-11 15:48:21 +08:00
winlin
c5f7a90a68
RTC: Fix bug
2020-09-10 17:49:10 +08:00
winlin
2b99b43633
RTC: Fix bug
2020-09-10 17:48:28 +08:00
winlin
e19631a2b7
RTC: Refine PLI request as worker
2020-09-10 17:45:19 +08:00
winlin
d61536311b
RTC: Remove and refine NACK removing
2020-09-09 14:07:13 +08:00
winlin
cff976bb71
RTC: Improve NACK efficiency
2020-09-09 13:39:10 +08:00
winlin
579f7a8a5b
RTC: Refine cid for PLI
2020-09-03 16:00:12 +08:00
winlin
a0dedba2ab
RTC: Fix NACK bug
2020-09-02 11:30:20 +08:00
winlin
2cbc00bf61
RTC: Refine PLI log
2020-08-31 20:37:53 +08:00
winlin
cf428b8db4
RTC: Save parent cid for publish stream
2020-08-28 20:21:05 +08:00
winlin
34d119f7b4
RTC: Remove dead code
2020-08-28 20:09:09 +08:00
winlin
f8ad90c68d
RTC: Fix source init bug
2020-08-28 15:19:21 +08:00
winlin
d97c0f5db2
RTC: Refine NACK match and miss logs
2020-08-28 12:17:51 +08:00
winlin
1c07aed2fc
Fix bugs
2020-08-21 21:23:32 +08:00
winlin
aaebecbcc9
RTC: Support UnifiedPlan
2020-08-21 18:08:54 +08:00
winlin
d66d100107
Refine code
2020-08-21 17:43:54 +08:00
莫战
aaf956a5c8
fix nack rtcp protect issue
2020-08-21 11:28:48 +08:00
winlin
a712e9cb3d
RTC: Fix memory leak
2020-08-20 11:47:38 +08:00
winlin
5589120dc8
RTC: Fix bug
2020-08-19 17:48:59 +08:00
winlin
f33c83a26f
RTC: Fix warnings
2020-08-19 17:22:05 +08:00
winlin
f9e17577f7
RTC: Fix conn bug
2020-08-19 10:36:30 +08:00
winlin
ab221fa842
RTC: Add callback for all consumers done
2020-08-17 20:08:11 +08:00
winlin
88d4314a3c
RTC: Refine comment
2020-08-17 18:17:03 +08:00
winlin
66a0143f14
RTC: Refine source state to created and delivering
2020-08-17 18:15:34 +08:00
winlin
87ffb7071a
RTC: Refine code
2020-08-17 17:31:53 +08:00
winlin
1114c6a46a
RTC: Refine comments
2020-08-17 17:16:18 +08:00
winlin
ecc5f73c54
RTC: Hook beofore publish event
2020-08-17 14:05:01 +08:00
winlin
d5e1116eb7
RTC: Add todo for source cleanup
2020-08-17 11:51:02 +08:00
winlin
9d38009b7f
RTC: Ignore twcc if no need to feedback
2020-08-17 11:43:29 +08:00
winlin
3617acf01c
RTC: Refine code
2020-08-13 17:20:03 +08:00
winlin
6d60e18824
RTC: Refine error and log for DTLS
2020-08-13 12:33:43 +08:00
winlin
9d08318581
RTC: Refine error pithy print log
2020-08-12 17:07:37 +08:00
winlin
ea10d7907f
RTC: Refine error pithy print log
2020-08-12 17:01:40 +08:00
winlin
d2da74085c
RTC: Refine log
2020-08-12 16:07:43 +08:00
莫战
559e89caf4
ignore padding decode before srtp decryption
2020-08-12 15:18:15 +08:00
winlin
aac2f1debd
RTC: Refine code
2020-08-11 17:13:28 +08:00
winlin
e82e28d83e
RTC: Refine RTCP dispatch in connection.
2020-08-11 17:01:57 +08:00
winlin
00582e0c36
RTC: Fix RTCP feedback bug
2020-08-11 15:42:08 +08:00
winlin
f702d8bcd7
RTC: Fix RTCP free bug
2020-08-11 15:30:18 +08:00
winlin
6ae414af3f
RTC: Refine RTC hijacker.
2020-08-11 14:29:05 +08:00
winlin
a06a750a1b
RTC: Support dup DTLS done. Support create publisher/player after DTLS done.
2020-08-11 12:24:01 +08:00
winlin
f54bf8d9be
RTC: Support more than one publishers or players.
2020-08-11 11:06:17 +08:00
winlin
571f417db4
RTC: Refine RTCP packets parsing
2020-08-11 09:50:17 +08:00
winlin
a728e02b93
RTC: Refine RTCP packets parsing
2020-08-11 09:40:27 +08:00
winlin
f3d8973d67
Fix build fail
2020-08-10 15:43:12 +08:00
winlin
f841e0c37a
RTC: Refien NACK code
2020-08-10 15:35:17 +08:00
winlin
f066686255
RTC: When track disable, no NACK.
2020-08-10 15:32:47 +08:00
winlin
250a703588
RTC: Use error pithy print for RTP packet error
2020-08-10 15:29:00 +08:00
winlin
cf9a8c7dcb
RTC: Show error when send packets.
2020-08-10 15:24:26 +08:00
winlin
73eb60a9d5
Tenfold: Connection support send rtcp packet
2020-08-07 16:51:48 +08:00
winlin
8c9935db44
RTC: Connection support hijack
2020-08-07 16:41:55 +08:00
winlin
b0590ef4fe
RTC: Remove source from conneciton init.
2020-08-07 15:45:18 +08:00
winlin
cf46779ad9
RTC: Show log when track not found
2020-08-07 15:28:17 +08:00
winlin
937167f311
RTC: Support disable DTLS
2020-08-07 14:33:52 +08:00
winlin
d2264ba6f9
RTC: Support semi security transport
2020-08-07 12:50:54 +08:00
winlin
47c43e47b6
RTC: Fix is_started state init bug
2020-08-07 12:48:45 +08:00
winlin
cfb44f0ef8
RTC: Fix warning
2020-08-06 17:59:14 +08:00
winlin
9f2aaef283
RTC: Add negotiate play by desc
2020-08-06 16:21:52 +08:00
winlin
ffeb3a8c46
RTC: Refine code
2020-08-06 16:15:06 +08:00