winlin
0cb05a2953
RTC: Refine ID parsing
2021-03-24 18:58:01 +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
1f621a6db3
Remove dead code: memory watch
2021-02-19 18:53: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
1615c3df6c
RTC: Refine code
2021-01-31 17:59:59 +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