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
|
668f8cbf6c
|
Refine pps add SrsPps
|
2021-02-06 18:05:04 +08:00 |
|
winlin
|
bfa156247c
|
Merge branch '4.0release' into develop
|
2021-01-07 17:47:54 +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 |
|
winlin
|
03389f5e8c
|
Merge branch '4.0release' into develop
|
2020-12-27 12:56:45 +08:00 |
|
winlin
|
1df2ea5ca8
|
Merge branch '3.0release' into 4.0release
|
2020-12-27 12:56:28 +08:00 |
|
winlin
|
831c78062b
|
Remove vhost in query if not present it
|
2020-12-27 12:55:27 +08:00 |
|
winlin
|
8fa093c53c
|
Merge branch '4.0release' into develop
|
2020-12-26 22:18:45 +08:00 |
|
winlin
|
2538b02a9b
|
Merge branch '3.0release' into 4.0release
|
2020-12-26 22:15:37 +08:00 |
|
winlin
|
6e43ef6866
|
For RTMP edge/forward, pass vhost in tcUrl, not in stream. 3.0.156
|
2020-12-26 22:11:23 +08:00 |
|
winlin
|
f9444c376c
|
Merge SRS4
|
2020-12-24 18:51:04 +08:00 |
|
winlin
|
0ccbd7c40a
|
Support get schema for HTTP message
|
2020-12-24 18:49:56 +08:00 |
|
winlin
|
c7c6d8778a
|
RTC: Fix warnings
|
2020-12-08 16:59:43 +08:00 |
|
莫战
|
b38f30c3ee
|
support query parsing and escape
|
2020-12-01 16:27:37 +08:00 |
|
winlin
|
c779d95246
|
GB28181: Remove chinese comments.
|
2020-11-16 00:06:03 +08:00 |
|
Pieere Pi
|
ffae1720ec
|
gb28181模块可用性增强
主要改动,
1. 支持作为GB/T 28181上级平台
2. 新的目录接口sip_query_devicelist (/api/v1/gb28181?action=sip_query_devicelist)
3. 各种异常和问题修复
4. 其他一些小改动
以上改动基于feature/rtc分支,因为需要网页用WebRTC来拉GB28181的监控流,gb28181分支代码有点老了。
下面的序号n是指第n个差异块("@@ -"之间的内容)。
srs_gb28181.html
1. 原页面上多加了一个端口号
2-4. 给摄像头加上名称显示
5. 查询目录去掉chid
6. 删除通道参数分解为id和chid
7. API端口固定为1985
srs_app_gb28181.cpp
1-4. 四处因为错误而退出GB28181媒体处理循环,修改为不退出
5. payload为空异常
6. 修正判断startcode越界一个字符导致内存写越界的问题
ps流有可能末尾是全零填充,而且越界的那个字符正好是0x01,这样会多出一个nalu(末尾的三个0x00和一个越界的0x01),后面写video_data内存越界(if (first_pos != pre_pos){块,此处size - pre_pos - 4为-1,uint32_t naluLen得到的值为0,video_data[pre_pos+3] = p[0];写越界)破坏了其他数据,后续video_stream析构出错程序异常退出。
7. 此处srs后来已修复
8. 更新ssrc为被叫返回的值
原代码只支持标准中的《点播域内设备媒体流SSRC处理方式》(设备注册上来),不支持《点播外域设备媒体流SSRC处理方式》(即作为上级平台)。
这是因为如果srs作为上级平台,ssrc不是自己生成的,而是下级平台生成的。
9. 删除通道参数分解为id和chid
10. notify_sip_unregister后delete_stream_channel无效
11. notify_sip_query_catalog清空内存中的设备列表
12. 新函数query_device_list
srs_app_gb28181.hpp
1. update_rtmpmuxer_to_newssrc_by_id声明
2. 新函数get_gb28181_config_ptr和函数delete_stream_channel声明修改
3. 新函数query_device_list
srs_app_gb28181_sip.cpp
1-4. 在调试界面给摄像头加上名称显示;新函数clear_device_list和新函数dumpItemList
5-6. 两处因为错误而退出GB28181信令处理循环,修改为不退出
7. 设备注册上来,不检查服务器ID匹不匹配(支持作为上级平台)
8. 收到一个目录上报消息,更新内存中的数据
9. 更新ssrc为被叫返回的值
10. 新函数query_device_list
srs_app_gb28181_sip.hpp
1. 在调试界面给摄像头加上名称显示
2. 每个设备加上item_list,用于存储目录;新函数clear_device_list和新函数dumpItemList
3. 新函数clear_device_list
srs_app_http_api.cpp
1. 删除通道参数分解为id和chid
2. 新的接口sip_query_devicelist,用于查询所有设备的目录
srs_sip_stack.cpp
1. GB2312转UTF-8类
2. 被叫返回的ssrc初始化
3. parse_xml声明修改
4. 对XML内容进行字符集检测和转换
5-7. parse_xml定义修改
8. SIP BODY里面也有可能有\r\n
9-10. 防止恶意SIP消息 by vicious sip prober
11-12. 新的XML解析目录代码
13. 获取被叫返回的ssrc
srs_sip_stack.hpp
1. 依赖vector
2. 每个设备加上item_list,用于存储目录
3. 被叫返回的ssrc
4. parse_xml声明修改
|
2020-11-15 23:14:34 +08:00 |
|
yinjiaoyuan
|
fe65c7bf84
|
For 2034, GB28181: Support transport over TCP
|
2020-11-15 22:50:59 +08:00 |
|
winlin
|
9908433bc8
|
For #1508, Transform http header name to upper camel case. 4.0.54
|
2020-11-11 16:38:05 +08:00 |
|
winlin
|
07c04a042a
|
URI: Refine uri parser
|
2020-11-10 18:51:21 +08:00 |
|
winlin
|
5709ee1b63
|
For #1657, add https configs
|
2020-11-07 07:11:57 +08:00 |
|
winlin
|
385e055c7b
|
For #1657, Fix read bug. 4.0.53
|
2020-11-06 21:55:17 +08:00 |
|
winlin
|
6dc9824495
|
For #1657, fix the http read bug
|
2020-11-06 20:45:44 +08:00 |
|
winlin
|
272ca9d0f6
|
For #1657, Support HTTPS API
|
2020-11-06 15:05:01 +08:00 |
|
winlin
|
d67b050935
|
For #1657, fix the jsonp bug
|
2020-11-05 17:57:22 +08:00 |
|
winlin
|
d2df045d0e
|
For #1657, enable HTTPS by default
|
2020-11-03 16:56:05 +08:00 |
|
winlin
|
5577d19b61
|
For #1657, Refine https-client code
|
2020-11-03 15:54:06 +08:00 |
|
winlin
|
d552a1a5fb
|
For #1657, support HTTPS client, for http-callback. 4.0.45
|
2020-11-03 15:45:52 +08:00 |
|
winlin
|
8c1eca98b0
|
Merge SRS3.0
|
2020-10-31 19:25:56 +08:00 |
|
winlin
|
b348539687
|
Remove some global elements for debugging. 3.0.152
|
2020-10-31 17:53:00 +08:00 |
|
winlin
|
9c11e5077f
|
Fix Kbps resample bug
|
2020-10-14 11:36:48 +08:00 |
|
winlin
|
13af54171f
|
For #1780, build fail on ubuntu:focal. 3.0.144
|
2020-10-10 16:20:05 +08:00 |
|
winlin
|
4ccb83834d
|
Fix Kbps resample bug
|
2020-09-27 16:21:15 +08:00 |
|
winlin
|
64705d1cc8
|
RTC: Refine resouce management
|
2020-09-19 10:30:05 +08:00 |
|
winlin
|
962c379299
|
Fix build fail
|
2020-09-13 10:41:37 +08:00 |
|
winlin
|
697f7d5251
|
Merge branch 'develop' into feature/rtc
|
2020-09-10 19:39:25 +08:00 |
|
winlin
|
0cadbca52f
|
Merge SRS3
|
2020-09-10 19:36:55 +08:00 |
|
winlin
|
4c459a004e
|
Log: Support tag for log
|
2020-09-10 11:07:21 +08:00 |
|
winlin
|
311cb77b36
|
Context: Refine API
|
2020-08-30 09:53:10 +08:00 |
|
winlin
|
a826926073
|
SRS: Fix bug
|
2020-08-21 21:14:18 +08:00 |
|
winlin
|
2b725b8167
|
Fix bug
|
2020-08-20 18:46:11 +08:00 |
|
winlin
|
a2d9f0a9ad
|
Fix bug
|
2020-08-20 18:22:36 +08:00 |
|
winlin
|
7dcfd6b029
|
Refine code
|
2020-08-20 18:05:40 +08:00 |
|
winlin
|
2c08c4d303
|
Fix bug
|
2020-08-20 17:48:14 +08:00 |
|
winlin
|
7a9e89d7b3
|
Fix memory leak
|
2020-08-20 17:15:07 +08:00 |
|
winlin
|
0716fb4be2
|
HLS: Fix memory leak
|
2020-08-20 11:42:05 +08:00 |
|
winlin
|
a728e02b93
|
RTC: Refine RTCP packets parsing
|
2020-08-11 09:40:27 +08:00 |
|
winlin
|
975c24b24f
|
RTC: Fix warnings
|
2020-07-27 16:52:44 +08:00 |
|
winlin
|
c2c35a7330
|
Refine code
|
2020-07-22 14:27:03 +08:00 |
|
winlin
|
38f935ead8
|
Support get hostname
|
2020-07-20 20:59:28 +08:00 |
|
winlin
|
426938cc8a
|
JSON: Filter string filed with special char
|
2020-07-14 19:51:06 +08:00 |
|
winlin
|
66aaad7805
|
Log: Refine context
|
2020-07-13 13:52:23 +08:00 |
|
winlin
|
0a057a0427
|
Log: Refine log context, use const
|
2020-07-13 11:19:34 +08:00 |
|
winlin
|
041abe43fa
|
Log: Support large log for RTC SDP.
|
2020-07-12 19:52:03 +08:00 |
|
winlin
|
bbc168d980
|
RTC: Refine generate_id, never set the cid for current thread
|
2020-07-09 18:11:49 +08:00 |
|
winlin
|
742826a655
|
Log: Use 8 bytes random string as context id
|
2020-07-09 16:51:20 +08:00 |
|
winlin
|
6624b8acca
|
Log: Use object as context id for complex context
|
2020-07-05 23:26:55 +08:00 |
|
winlin
|
5f951ca126
|
HTTP: Fix the http parser fail bug, always reset the parser.
|
2020-07-04 21:25:56 +08:00 |
|
winlin
|
f8823dab8f
|
ST: add srs_cond_broadcast
|
2020-07-04 21:18:35 +08:00 |
|
winlin
|
671af4369b
|
HTTP: Only enable infinite chunked for HTTP_REQUEST
|
2020-07-03 17:05:01 +08:00 |
|
winlin
|
df9efb6486
|
RTC: Infinite chunk handle read error as EOF.
|
2020-07-02 16:20:32 +08:00 |
|
winlin
|
9ff8bff601
|
RTC: Fix the OPTIONS read, no infinited chunked mode
|
2020-07-02 12:41:08 +08:00 |
|
winlin
|
a273298e63
|
HTTP: Enable infinite_chunked by default
|
2020-06-30 19:29:23 +08:00 |
|
winlin
|
b9355c1cc3
|
Fix memory leak
|
2020-06-28 16:58:14 +08:00 |
|
winlin
|
81d2e10f65
|
Refactor ISrsContext and ISrsLog
|
2020-06-25 13:14:59 +08:00 |
|
winlin
|
89c0748234
|
Fix the empty cid issue
|
2020-06-23 17:39:16 +08:00 |
|
jinxue.cgh
|
83ce78a015
|
tfsfu: fix compile error for bind, and warning
|
2020-06-18 11:48:10 +08:00 |
|
winlin
|
8a0c2e01f8
|
Log: Change cid from int to string
|
2020-06-18 11:45:43 +08:00 |
|
winlin
|
2c1bd6da3e
|
Merge SRS
|
2020-06-14 12:35:03 +08:00 |
|
kyxlx550
|
84afc32a96
|
fix sip catalog status list check error
|
2020-06-09 10:08:41 +08:00 |
|
winlin
|
95f656b46d
|
Merge service to protocol
|
2020-06-02 15:02:59 +08:00 |
|
winlin
|
2b50326e97
|
HTTP: Close connection for HTTP static file server
|
2020-05-26 09:53:36 +08:00 |
|
winlin
|
0b9887bbcd
|
RTC: Rename RTC files.
|
2020-05-11 12:07:55 +08:00 |
|
winlin
|
2a0562da5e
|
Refine RTC, disable NASM, SENDMMSG, SRTP-NASM
|
2020-05-03 11:14:11 +08:00 |
|
winlin
|
b3a0284db5
|
Refactor code to split implementation to cpp
|
2020-05-02 09:48:04 +08:00 |
|
winlin
|
dabad68f48
|
Merge branch 'feature/gb28181' into develop
|
2020-04-21 15:27:40 +08:00 |
|
kyxlx550
|
6a070a9a64
|
support sip ptz cmd
|
2020-04-20 21:34:18 +08:00 |
|
kyxlx550
|
167711400a
|
fix cascade SIP bye failed
|
2020-04-19 00:18:30 +08:00 |
|
kyxlx550
|
98c29b2b9a
|
fix sip stack param check error
|
2020-04-17 00:17:47 +08:00 |
|
kyxlx550
|
95b869245b
|
fix sip message parse error
|
2020-04-15 12:06:27 +08:00 |
|
winlin
|
6cf9933bf3
|
For #307, refine gperf api
|
2020-04-14 21:49:49 +08:00 |
|
winlin
|
03a03e4174
|
Refine stat for GSO
|
2020-04-14 13:47:23 +08:00 |
|
kyxlx550
|
1e0474e470
|
support sip query catalog message, parse xml to map, nvr
|
2020-04-11 20:18:38 +08:00 |
|
winlin
|
9b2f429571
|
Allows empty body metadata.
|
2020-04-09 20:43:51 +08:00 |
|
winlin
|
49f88a3326
|
Merge pull request #1691 from xialixin/dev-28181
Dev 28181
|
2020-04-09 08:28:53 +08:00 |
|
winlin
|
40c95b04ca
|
Merge remote-tracking branch 'winlin/feature/perf_stat' into feature/rtc
|
2020-04-05 23:01:21 +08:00 |
|
xialixin
|
9e9b5374d5
|
srs_get_sip_utc_date external use
|
2020-04-05 13:51:19 +08:00 |
|
xialixin
|
ac8acc0b22
|
fix 28281 to 28181, sip heart message, timeout channel peer ip and port reset
|
2020-04-04 16:07:23 +08:00 |
|
winlin
|
0ff3ce7464
|
Merge remote-tracking branch 'john/rtc' into feature/rtc
|
2020-04-03 15:17:13 +08:00 |
|
winlin
|
9ad5a5d9b6
|
RTC support openssl 1.0.*
|
2020-04-03 13:41:45 +08:00 |
|
xiaozhihong
|
d6adb5cd8d
|
process USE-CANDIDATE/ICE-CONTROLLING/ICE-CONTROLLED atrribute in STUN
|
2020-04-02 21:31:06 +08:00 |
|
winlin
|
d81cde695d
|
Refactor code
|
2020-03-31 22:48:38 +08:00 |
|
winlin
|
e19b927f92
|
Merge GB28181
|
2020-03-31 22:45:20 +08:00 |
|
winlin
|
6012ac4eb0
|
Refine code
|
2020-03-31 22:30:57 +08:00 |
|
winlin
|
a342f460e7
|
Merge branch '4.0release' into xialixin-dev-28181
|
2020-03-31 20:09:07 +08:00 |
|
winlin
|
33455867f9
|
Merge branch 'dev-28181' of https://github.com/xialixin/srs into xialixin-dev-28181
|
2020-03-31 20:08:24 +08:00 |
|
winlin
|
45db63249d
|
Update author to John for RTC
|
2020-03-31 18:03:04 +08:00 |
|
xialixin
|
c99fb99ab6
|
refactor gb28181, supporting SIP server enable, multiplex, API interface
|
2020-03-31 00:39:10 +08:00 |
|