winlin
19e857ada4
Remove dead link for issues
2021-10-10 09:31:06 +08:00
bepartofyou
286a605c63
Fix #2654 : Parse width and width from SPS/PPS. Fix #471 , #1335 , #2539 , #1316 , #1421
2021-10-08 22:04:13 +08:00
winlin
7d3ec991e1
Squash: Merge SRS 4.0
2021-09-26 17:12:55 +08:00
winlin
ad4b648ed2
For #2545 , Refine code with space lines.
2021-09-26 17:07:59 +08:00
johzzy
ee23e3abed
fix some crash in rtc. ( #2545 )
2021-09-26 17:04:00 +08:00
johzzy
dc778020fc
fix some crash in rtc. ( #2545 )
2021-09-26 17:01:53 +08:00
winlin
19c0a9eb4b
Suqash: Merge 4.0
2021-09-05 14:17:41 +08:00
ChenGH
3f94d26ca4
For #1920 , refine rtmp listen ip and port check ( #2581 )
2021-09-05 14:05:28 +08:00
ChenGH
714e182096
fix srs_string_replace deap loop when new_str inclue old_str ( #2580 )
2021-09-04 22:29:21 +08:00
Haibo Chen
c8bf98e8e2
Support for multiple SPS/PPS, then pick the first one. ( #2544 )
2021-08-27 07:32:02 +08:00
Haibo Chen
826f5121c5
Support for multiple SPS/PPS, then pick the first one. ( #2544 )
2021-08-27 07:27:33 +08:00
winlin
85620a34f5
Squash: Fix rtc to rtmp sync timestamp using sender report. #2470
2021-08-17 07:25:03 +08:00
john
ea8cff6163
RTC: Fix rtc to rtmp sync timestamp using sender report. ( #2470 )
...
* fix annotation spell failed
* RTC to RTMP using SenderReport to sync av timestamp
* update pion/webrtc versio from v3.0.4 -> v3.0.13, auto config sender/receiver report
* Add rtc push flv play regression test
* Add unit test of ntp and av sync time
* Take flag CXX to makefile of utest
* Add annotation about rtc unit test
* Fix compiler error in C++98
* Add FFmpeg log callback funciton.
2021-08-17 06:32:35 +08:00
Haibo Chen
ab988abc59
For #2516 , fix codec issue for G.711 or H.263. 4.0.152
2021-08-13 12:08:10 +08:00
Haibo Chen
aad90c7f42
fix coredump bug: caused by publish stream that codec is unsupport, sush as G.711, H.263 ( #2526 )
2021-08-13 12:05:28 +08:00
Alex.CR
af05f89925
SRT: Use thread-safe log for multiple-threading SRT module. ( #2474 ) v4.0.143
...
* solve srt push bugs
* solve h264 mutiple nalus in srt when obs is configured in zerolatency
* optimize error code
* optimize error code
* optimize error code
* add commemnt:we only skip pps/sps frame and send left nalus in srt
* add commemnt:we only skip pps/sps frame and send left nalus in srt
* optimize srt log system
* update conf
* update srt hpp
Co-authored-by: shiwei <shiwei05@kuaishou.com>
2021-07-21 10:28:42 +08:00
Alex.CR
4b7ba0e1e9
SRT: Use thread-safe log for multiple-threading SRT module. ( #2474 )
...
* solve srt push bugs
* solve h264 mutiple nalus in srt when obs is configured in zerolatency
* optimize error code
* optimize error code
* optimize error code
* add commemnt:we only skip pps/sps frame and send left nalus in srt
* add commemnt:we only skip pps/sps frame and send left nalus in srt
* optimize srt log system
* update conf
* update srt hpp
Co-authored-by: shiwei <shiwei05@kuaishou.com>
2021-07-21 10:23:25 +08:00
Winlin
c8a1e0f3da
Refine AUTHORS.txt to AUTHORS.md, etc. 5.0.8 ( #2464 )
...
* Refine AUTHORS.txt to AUTHORS.md, etc. 5.0.8
* Update README.md
* Update README.md
* Refine format for AUTHORS.md
2021-07-08 14:30:47 +08:00
winlin
13d015b8fd
Squash: Fix random bug
2021-07-04 16:04:51 +08:00
winlin
642359a50e
For #2424 , use srandom/random to generate. 4.0.139
2021-07-04 15:50:29 +08:00
winlin
efdbf37255
Squash: Move GB28181 to feature/gb28181. 5.0.4
2021-06-16 14:03:55 +08:00
winlin
68c48e27f5
Change GB28181 to feature/gb28181. 4.0.127
2021-06-16 08:27:37 +08:00
winlin
15901cacee
SquashSRS4: Use SPDX-License-Identifier: MIT. 5.0.3
2021-05-31 13:42:20 +08:00
winlin
3cd22b6e6e
Use SPDX-License-Identifier: MIT. 4.0.124
2021-05-31 12:59:21 +08:00
winlin
6dc8d9dd6f
SquashSRS4: Remove srs-librtmp
2021-05-20 20:07:13 +08:00
winlin
af04285baa
Tools: Remove srs-librtmp
2021-05-20 18:52:21 +08:00
winlin
8f304b94ec
Refine comments
2021-05-20 10:49:42 +08:00
winlin
a1d7fe46c1
SquashSRS4: Rename SrsRtpPacket2 to SrsRtpPacket.
2021-05-15 08:53:54 +08:00
winlin
ddd7a378b1
Rename SrsRtpPacket2 to SrsRtpPacket. 4.0.111
2021-05-15 08:47:09 +08:00
winlin
6a980683f7
SquashSRS4: Remove object cache and stat api
2021-05-14 18:17:42 +08:00
winlin
f7b32252b0
RTC: Remove Object Cache Pool, no effect. 4.0.110
2021-05-14 16:12:11 +08:00
winlin
717e811002
Change virtual public to public. 4.0.109
2021-05-14 09:13:15 +08:00
winlin
3256c7c2fa
SquashSRS4: Refine the init of global objects
2021-05-08 11:51:54 +08:00
winlin
8b58d18a5a
Refine init of global objects
2021-05-08 11:25:48 +08:00
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
74bb47c13f
SquashSRS4: Support RTC2RTMP.
2021-05-01 22:15:57 +08:00
winlin
3d225973ef
Bridger: Support RTC2RTMP bridger and shared FastTimer. 4.0.95
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
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
d01e603b25
Happy 2021
2021-04-16 09:25:55 +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
bd1752a4b2
RTC: Fix TWCC send bug
2021-04-01 10:47:50 +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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
1f621a6db3
Remove dead code: memory watch
2021-02-19 18:53:40 +08:00
winlin
4ef1acb700
Remove dead code: memory watch
2021-02-15 19:33:40 +08:00
winlin
4a37fe30c7
RTC: Refine RTP header, never extends from any class
2021-02-10 16:16:49 +08:00
winlin
5919865e5d
RTC: Refine NACK check, interval, time
2021-02-10 16:14:54 +08:00
winlin
2989e6c9c3
Fix build fail
2021-02-10 15:57:49 +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
dffbebfe6f
RTC: Fast parse ssrc and find the publisher
2021-02-10 15:57:03 +08:00
winlin
45834b805b
RTC: Refine RTP header, never extends from any class
2021-02-09 10:53:44 +08:00
winlin
abc26d470b
RTC: Refine NACK check, interval, time
2021-02-08 16:24:12 +08:00
winlin
864356c9bd
Fix build fail
2021-02-07 16:32:34 +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
80985c7307
RTC: Fast parse ssrc and find the publisher
2021-02-05 14:13:48 +08:00
winlin
1615c3df6c
RTC: Refine code
2021-01-31 17:59:59 +08:00
winlin
09011eea3a
RTC: Refine code
2021-01-17 20:30:10 +08:00
winlin
248085edfe
For #2109 , Add more utest for srs_string_split
2021-01-07 12:30:51 +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
155587d2c1
RTC: Fix parse error stap playload crash bug
2021-01-05 10:56:05 +08:00