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
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
winlin
8576fa7052
Squash: Merge v4.0.203
2021-12-04 11:21:35 +08:00
winlin
6cde9a0230
Squash: Guess config files by FHS
2021-11-07 18:53:21 +08:00
winlin
523b055c06
Squash: Support RPM. Fix bugs.
2021-11-04 07:37:17 +08:00
winlin
665b5f48f7
Squash: JSON: Support escape special chars. ( #1758 )
2021-10-20 09:16:18 +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
a81aa2edc5
Squash: Merge SRS 4.0
2021-10-10 12:05:26 +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
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
Haibo Chen
0efd7b1bbc
RTC: Support statistic for HTTP-API, HTTP-Callback and Security ( #2483 )
...
* commit message for your changes. Lines starting
* Update srs_app_rtc_api.cpp
* add SrsRtcConnPlay and SrsRtcConnPublish, in enum SrsRtmpConnType
* Update srs_rtmp_stack.cpp
* Update srs_app_rtc_conn.cpp
* Update srs_app_rtc_api.cpp
* update utest
* Update srs_utest_app.cpp
2021-07-24 08:05:10 +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
15901cacee
SquashSRS4: Use SPDX-License-Identifier: MIT. 5.0.3
2021-05-31 13:42:20 +08:00
winlin
a1d7fe46c1
SquashSRS4: Rename SrsRtpPacket2 to SrsRtpPacket.
2021-05-15 08:53:54 +08:00
winlin
6a980683f7
SquashSRS4: Remove object cache and stat api
2021-05-14 18:17:42 +08:00
winlin
3256c7c2fa
SquashSRS4: Refine the init of global objects
2021-05-08 11:51:54 +08:00
winlin
ea1f32526a
RTC: Remove DTLS utest, cover by regression test
2021-04-27 18:54:10 +08:00
winlin
8b74c7cb89
SquashSRS4: Happy 2021
2021-04-16 09:29:43 +08:00
winlin
e74810230a
SquashSRS4: Regine DTLS and add regression tests. 4.0.84
2021-03-10 08:29:40 +08:00
winlin
dc93836489
SquashSRS4: Refine DTLS init, use specified API by role
2021-03-09 12:01:23 +08:00
winlin
3bb1b673c5
Merge SRS4, lots of features
2021-03-04 14:49:03 +08:00
winlin
de87dd427d
Fix utest fail
2021-03-04 14:18:54 +08:00
winlin
6bacccd1b8
Fix utest fail
2021-02-19 18:54:16 +08:00
winlin
044df17791
Fix utest fail
2021-02-19 18:53:23 +08:00
winlin
37679f2acc
Fix utest fail
2021-02-19 11:18:42 +08:00
winlin
3147c8f9bc
Fix utest fail
2021-02-15 12:37:16 +08:00
winlin
6b260d6021
Fix utest fail
2021-02-10 16:17:01 +08:00
winlin
52609ea2f0
RTC: Use vector for fast search fast-id
2021-02-10 15:57:55 +08:00
winlin
152c161de3
Fix utest fail
2021-02-09 21:56:30 +08:00
winlin
3d34eb33e5
Fix utest fail
2021-02-07 22:11:35 +08:00
winlin
95193979f4
RTC: Use vector for fast search fast-id
2021-02-07 19:31:46 +08:00
winlin
b6843428c6
Fix build warnings
2021-01-08 14:09:28 +08:00
winlin
81d78310a0
Fix build warnings
2021-01-08 13:29:32 +08:00
winlin
61f62ceec6
Fix build warnings
2021-01-08 11:48:56 +08:00
winlin
473942c6f6
Kernel: Add utest for srs_string_split
2021-01-08 10:27:12 +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
248085edfe
For #2109 , Add more utest for srs_string_split
2021-01-07 12:30:51 +08:00
winlin
155587d2c1
RTC: Fix parse error stap playload crash bug
2021-01-05 10:56:05 +08:00
winlin
4d18835f3c
Fix build fail
2020-12-21 10:37:33 +08:00