winlin
a71eddd56a
Fix the snprintf size issue.
2022-08-10 08:32:02 +08:00
winlin
b2e083b00d
Support multiple threads by thread pool. v5.0.32
2022-06-29 20:15:44 +08:00
winlin
e05535267b
Disable reload for log config.
2022-06-29 19:29:50 +08:00
winlin
d117145b95
Update date from 2021 to 2022.
2022-06-20 19:22:25 +08:00
winlin
9efb6de0b4
SRT: Merge develop, fix build fail.
2022-06-14 20:02:25 +08:00
winlin
6009395c10
SRT: Hide srt implements from API.
2022-06-14 20:02:25 +08:00
winlin
d39ec3cf45
SRT: Extract ISrsSrtPoller to hide SRT_EPOLL_EVENT
2022-06-14 20:02:25 +08:00
winlin
78b778fb93
SRT: Rename srs_service_st_srt to srs_protocol_srt
2022-06-14 20:02:25 +08:00
winlin
492e3a888c
SRT: Refine the SRT socket code.
2022-06-14 20:02:24 +08:00
winlin
6c94e91792
SRT: Refine get_srt_poller to poller.
2022-06-14 20:02:24 +08:00
hondaxiao
b566182f0b
SRT: fix utest failed
2022-06-14 20:02:24 +08:00
hondaxiao
94fa0ff7bd
Refine SRT code, with StateThread adpater
2022-06-14 19:58:42 +08:00
winlin
3ed4aed824
Fix build failed.
2022-06-09 20:46:20 +08:00
winlin
fa78cf3354
Prefix with srs_protocol in protocol directory.
2022-06-09 20:26:58 +08:00
winlin
665ad564fb
Rename service to protocol files.
2022-06-09 19:59:51 +08:00
winlin
9385f2b80b
Merge branch '4.0release' into develop
2022-03-19 13:21:58 +08:00
winlin
41e35155f7
SRT: Compatible with previous auth querystring. #2908
2022-03-19 09:04:51 +08:00
loveforever
210cdf04be
SRT: url supports multiple QueryStrings ( #2908 )
...
* SRT: parse srt url to supports multiple QueryStrings.(#2893 )
* SRT: url supports multiple QueryStrings by comma-separated key-value pairs with no nesting (#2893 )
* SRT: url supports multiple QueryStrings by comma-separated key-value pairs with no nesting (#2893 )
* SRT: Add comments for url.
* Add utest for SRT URL parsing.
* Update README.
Co-authored-by: winlin <winlin@vip.126.com>
2022-03-19 08:24:06 +08:00
ChenGH
ab81696102
Bugfix: Fix rtcp nack blp encode bug ( #2966 ). v4.0.248
...
Co-authored-by: Winlin <winlin@vip.126.com>
2022-03-15 08:43:03 +08:00
ChenGH
70aa6b66bb
bugfix: fix rtcp nack blp encode bug ( #2966 )
...
Co-authored-by: Winlin <winlin@vip.126.com>
2022-03-15 08:40:06 +08:00
Haibo Chen
67ccd589c1
Security: Enable CIDR for allow/deny play/publish ( #2914 )
...
* protocol/utility: add srs_ipv4_to_num
* protocol/utility: add srs_ipv4_within_mask
* protocol/utility: add srs_get_cidr_mask and CIDR_VALUES static struct
* protocol/utility: add srs_get_cidr_ipv4
* app/security: support cidr ip ranges in allow/deny rules
* conf: update security example with cidr ranges
* Security: Enable CIDR for allow/deny play/publish
* Security: Enable CIDR for allow/deny play/publish
* Security: Enable CIDR for allow/deny play/publish
* fix compile error on centos6
Co-authored-by: Matheus Macabu <macabu.matheus@gmail.com>
2022-03-11 12:24:35 +08:00
chundonglinlin
03cf93fc2b
Forward: support config full rtmp url forward to other server ( #2799 )
...
* Forward: add backend config and demo server for dynamic create forwarder to other server.(#1342 )
* Forward: if call forward backend failed, then return directly.
* Forward: add API description and change return value format.
* Forward: add backend conf file and wrapper function for backend service.
* Forward: add backend comment in full.conf and update forward.backend.conf.
* Forward: rename backend param and add comment tips.
2022-02-16 10:49:16 +08:00
mapengfei53
fde44885d9
Support include directive for config file ( #2878 )
...
* Support include import configuration
* Remove support for regular rules
* Remove support for regular rules
* Fix configuration file parsing bug
* Added utest tests for include functionality
* Added utest tests for include functionality
* Modify the UTest function
* optimized code
* Config: Refine parse error with state
* Config: Reorder functions
* Config: Rename parsing type to context
* Config: Refine args for include
* Config: Add utests for include
* Config: Refine code, parsing recursively.
* Config: Change the mock from file to buffer
* Config: Mock buffer in config
* Config: Refine code
* Add utests for include
* Added utest for include
Co-authored-by: pengfei.ma <pengfei.ma@ngaa.com.cn>
Co-authored-by: winlin <winlin@vip.126.com>
2022-02-14 15:08:51 +08:00
Haibo Chen
290c3b95a5
Fix bug when the value of http header is empty ( #2888 )
...
* Fix bug when the value of http header is empty
* add utest
2022-02-03 15:06:06 +08:00
Haibo Chen
b94ce1485a
Fix bug when the value of http header is empty ( #2888 )
...
* Fix bug when the value of http header is empty
* add utest
2022-02-03 15:05:09 +08:00
winlin
d5c86dc5fa
Switch LICENSE from MIT to **MIT or MulanPSL-2.0**. v5.0.21
2022-01-13 18:40:22 +08:00
winlin
f05e67e1a6
Squash: Fix bugs
2021-12-13 09:24:16 +08:00
long
4decc1fa6b
RTC: Fix nack encode seqnum ( #2766 )
...
* fix nack encode seqnum
* add nack encode utest
* change Variable naming
Co-authored-by: liyalong1 <liyalong1@100tal.com>
2021-12-06 12:42:39 +08:00
winlin
8576fa7052
Squash: Merge v4.0.203
2021-12-04 11:21:35 +08:00
john
f3c4023c25
Fix bugs for RTC2RTMP. ( #2768 )
...
1. Cache IDR frame's rtp timestamp instead of avsync timestamp.
2. Cache clock rate calculate by sender report.
3. Using srs_rtp_seq_distance instead of direct minus.
4. Add utest of av timestamp sync when duplicated sender report.
2021-12-04 11:15:02 +08:00
winlin
6cde9a0230
Squash: Guess config files by FHS
2021-11-07 18:53:21 +08:00
winlin
df7faa1603
For #2369 , #1708 , #1941 : Add utest to cover fail for close or stop
2021-11-04 08:47:40 +08:00
winlin
523b055c06
Squash: Support RPM. Fix bugs.
2021-11-04 07:37:17 +08:00
winlin
ab5079909d
For #2369 , #1708 , #1941 : Check errno when close fd or stop thread
2021-10-31 19:33:27 +08:00
winlin
665b5f48f7
Squash: JSON: Support escape special chars. ( #1758 )
2021-10-20 09:16:18 +08:00
xmedia-systems
34b968aabf
JSON: Support escape special chars. ( #1758 ) v4.0.182
2021-10-20 08:57:40 +08:00
Matheus Macabu
061d544195
RTMP: If port is explicity set to 0, use default 1935 ( #1754 ). v4.0.181
2021-10-19 08:24:37 +08:00
Matheus Macabu
9a017f4037
RTMP: If port is explicity set to 0, use default 1935 ( #1754 )
2021-10-19 08:20:28 +08:00
Haibo Chen
7fd5e8607c
DVR: support mp3 audio codec. ( #2593 ) v5.0.17
2021-10-16 14:06:43 +08:00
winlin
b874d9c9ba
Squash: Merge SRS 4.0, regression test for RTMP.
2021-10-12 08:36:24 +08:00
winlin
d6064ac608
UTest: Fix utest fail for config
2021-10-11 23:28:37 +08:00
winlin
a81aa2edc5
Squash: Merge SRS 4.0
2021-10-10 12:05:26 +08:00
winlin
2fa5a0bee8
Fix #2304 , Remove Push RTSP feature. v4.0.171
2021-10-10 11:50:07 +08:00
winlin
19e857ada4
Remove dead link for issues
2021-10-10 09:31:06 +08:00
Haibo Chen
36b813b971
Enhance HLS: support http callback on_play/stop, support statistic ( #2578 )
...
* Enhance HLS: support http callback on_play/stop, support statistic
* make code readable
* make code readable
* rename secret
2021-09-23 13:32:15 +08:00
Haibo Chen
f901831362
Enhance HLS: support http callback on_play/stop, support statistic ( #2578 )
...
* Enhance HLS: support http callback on_play/stop, support statistic
* make code readable
* make code readable
* rename secret
2021-09-23 13:31:45 +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