mapengfei53
8dc5853f8c
Fix parse_file function did not handle err ( #2928 )
...
* Fix parse file function did not handle err
* Fix parse_file function did not handle err
* Fix error message
* Updated error information
2022-03-19 13:22:27 +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
winlin
d5c86dc5fa
Switch LICENSE from MIT to **MIT or MulanPSL-2.0**. v5.0.21
2022-01-13 18:40:22 +08:00
winlin
93aa0eb5ba
Squash: Fix bugs
2022-01-13 18:26:28 +08:00
winlin
71a4b3c3f7
Add conf/lighthouse.conf for LightHouse. v4.0.222
2022-01-13 11:38:25 +08:00
winlin
4110fb14cb
Squash: Fix bugs. v5.0.20
2022-01-11 08:40:37 +08:00
winlin
fbb6d9464c
Discover api server and ip as candidates. v4.0.218
2022-01-04 22:31:27 +08:00
winlin
7808bd7ca8
Support config in_docker to fix the detect fail. ( #2824 ). v4.0.216
2022-01-03 16:55:52 +08:00
winlin
716e578a19
Squash: Fix bugs
2021-12-26 17:30:51 +08:00
winlin
d32195993d
Refine the default config file. ( #2711 ). v4.0.208
2021-12-23 18:34:40 +08:00
winlin
8576fa7052
Squash: Merge v4.0.203
2021-12-04 11:21:35 +08:00
winlin
b807ef9049
Fix dead links
2021-12-04 11:08:42 +08:00
winlin
6cde9a0230
Squash: Guess config files by FHS
2021-11-07 18:53:21 +08:00
winlin
1f4dad024e
Config: Guess config files by FHS. v4.0.194 ( #2711 )
2021-11-07 17:39:58 +08:00
winlin
84a16774b2
Fix build fail for CentOS6, without SO_REUSEPORT
2021-11-05 18:32:06 +08:00
winlin
cd7e5a131e
Squash: SRS 4.0, Stat the oc(origin cluster).
2021-10-13 09:03:47 +08:00
winlin
18a155bf31
API: Stat the oc(origin cluster).
2021-10-13 08:13:00 +08:00
winlin
4e6a3321cd
Squash: Merge SRS 4.0
2021-10-12 14:04:02 +08:00
winlin
5d5df7923b
Config: If docker.conf does not exists, try srs.conf
2021-10-12 14:02:35 +08:00
winlin
b874d9c9ba
Squash: Merge SRS 4.0, regression test for RTMP.
2021-10-12 08:36:24 +08:00
winlin
71ed6e5dc5
RTC: Refine config, aac to rtmp_to_rtc, bframe to keep_bframe. v4.0.174
2021-10-11 22:14:45 +08:00
winlin
0f9b9505a8
RTC: Change rtc.aac to discard by default. v4.0.172
2021-10-10 17:17:14 +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
cf99ebf186
Fix #2653 : Remove HTTP RAW API. v4.0.170
2021-10-10 10:23:27 +08:00
winlin
55d8cb4b7b
Default to log to console for docker. v4.0.168
2021-10-08 21:58:33 +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
winlin
90b5ed2202
For #2282 , #2181 , Remove reload for dvr_apply. 4.0.160
2021-09-04 12:29:07 +08:00
winlin
cf3129220d
Log: Refine the tail help log, show last 30 lines
2021-08-31 17:54:01 +08:00
winlin
38b0b1dab2
Squash: Fix ingest bug. Refine AUTHORS.
2021-08-25 08:11:44 +08:00
winlin
adf0043cbc
Fix #2508 , Support features query by API. 5.0.10
2021-08-07 23:21:23 +08:00
winlin
ee376da0c6
Fix #2508 , Support features query by API. 4.0.149
2021-08-07 23:17:15 +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
Xiaoniu
31679c46d4
check 'vhost' validity in 'http raw dvr api' ( #2435 )
2021-06-28 07:53:16 +08:00
Xiaoniu
f986b5956b
check 'vhost' validity in 'http raw dvr api' ( #2435 )
2021-06-28 07:51:57 +08:00
winlin
5ee20613ca
Squash: Support query lastest available version. 5.0.6
2021-06-28 07:33:24 +08:00
winlin
da763e43d5
Squash for #2424 , query the latest available version. 4.0.132
2021-06-27 08:56:41 +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
34aa11b72a
SquashSRS4: Update doc
2021-05-18 11:47:50 +08:00
winlin
0d14c4b073
System: Fail if use use full.conf
2021-05-18 11:06:14 +08:00
xialixin
2e14d80aa4
SquashSRS4: Refine GB28181
2021-05-18 09:11:57 +08:00
winlin
4639510f1b
RTC: Allow config perf_stat and queue_length of rtc_server
2021-05-17 18:23:54 +08:00
winlin
e3bca883e1
SuqashSRS4: Build SRT native
2021-05-16 16:14:00 +08:00
winlin
9b6a1b16e1
RTC: Eliminate unused perf_stat
2021-05-15 12:04:21 +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
276bd2223e
SquashSRS4: Support circuit breaker
2021-05-08 10:04:44 +08:00
winlin
92fc0af8f4
RTC: Support circuit breaker. 4.0.103
2021-05-07 17:43:05 +08:00
winlin
f995bf7ca8
SquashSRS4: Transform config for nack/twcc.
2021-05-06 17:39:10 +08:00
winlin
0c0b467917
RTC: Transform config for nack/twcc. 4.0.100
2021-05-06 17:24:20 +08:00
winlin
f41c0b42b1
SquashSRS4: Fix config bug for nack and twcc.
2021-05-06 13:50:28 +08:00
winlin
4f48ad7a8b
RTC: Fix config check bug for nack and twcc
2021-05-06 11:41:11 +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
659e173e15
RTC: Refine for writing doc. 4.0.92
2021-05-01 16:42:09 +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
stone
3eb3cb9b51
For #2275 , fix bug for transcode engine config param.
2021-04-09 07:22:15 +08:00
stone
6da91f7dea
For #2275 , fix bug for transcode engine config param.
2021-04-09 07:19:31 +08:00
winlin
35431749c4
Live: Support follow client protocol for edge.
2021-03-17 16:48:18 +08:00
winlin
3bb1b673c5
Merge SRS4, lots of features
2021-03-04 14:49:03 +08:00
winlin
d4b8a57cf7
Enable Object Cache and Zero Copy Nack by default. 4.0.77
2021-03-04 14:12:31 +08:00
winlin
f63441413d
RTC: Support disable the NACK no-copy, enable copy by default
2021-03-02 19:34:56 +08:00
winlin
29b33e6303
RTC: Disable player perf stat, because it should be refined.
2021-03-02 19:33:29 +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
4d0863468a
RTC: Cache the large buffer allocation
2021-03-02 19:32:40 +08:00
winlin
86f43d4f72
RTC: Support RTP packet cache manager
2021-03-02 19:32:32 +08:00
winlin
c20d8fb617
RTC: Support disable the NACK no-copy, enable copy by default
2021-02-28 18:51:27 +08:00
winlin
ab601ff386
RTC: Disable player perf stat, because it should be refined.
2021-02-27 12:54:06 +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
d5b210abc8
RTC: Cache the large buffer allocation
2021-02-26 19:46:52 +08:00
winlin
1833780655
RTC: Support RTP packet cache manager
2021-02-26 16:21:59 +08:00
winlin
d8563398b2
Clock: Update stat. Insert timer to execute first
2021-02-19 18:53:02 +08:00
winlin
181c9f25ed
Live: Support connect origin by HTTP-FLV/HTTPS-FLV
2021-02-19 18:16:05 +08:00
winlin
321f555e30
Clock: Update stat. Insert timer to execute first
2021-02-11 17:34:03 +08:00
winlin
7114682eec
Timer: Apply timer(HourGlass) to server and sources
2021-02-10 16:16:58 +08:00
winlin
a357c013cd
Timer: Apply timer(HourGlass) to server and sources
2021-02-09 17:15:25 +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
yinjiaoyuan
fe65c7bf84
For 2034, GB28181: Support transport over TCP
2020-11-15 22:50:59 +08:00
winlin
30ba5a32ed
For #1657 , Support HTTPS Streaming
2020-11-06 17:22:23 +08:00
winlin
faf53927e8
For #1657 , Fix utest fail
2020-11-06 15:24:37 +08:00
winlin
272ca9d0f6
For #1657 , Support HTTPS API
2020-11-06 15:05:01 +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
adadbb7e9c
Merge branch '3.0release' into 4.0release
2020-10-24 18:29:12 +08:00
winlin
8445d5543b
Refine script and startup logs. 3.0.148
2020-10-24 18:28:53 +08:00
winlin
962c379299
Fix build fail
2020-09-13 10:41:37 +08:00
winlin
a826926073
SRS: Fix bug
2020-08-21 21:14:18 +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
dc8a63fb3c
RTC: Refine config code
2020-07-14 14:01:38 +08:00
xiaozhihong
3bab0ad345
rtc merge_nalu default value off
2020-07-02 21:59:51 +08:00
winlin
3510c74cd4
RTC: Support drop for specified PT
2020-06-29 10:59:39 +08:00
winlin
75fbcba71d
RTC: Always keep and use original sequence.
2020-06-28 11:40:49 +08:00
winlin
94ebcf6306
RTC: Support config the DTLS role and version
2020-06-27 11:13:53 +08:00
winlin
acb8793140
RTC: Change reuseport to 1
2020-06-23 18:31:27 +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
c30565b4c0
RTC: Support keep original seq
2020-06-16 16:41:04 +08:00
kyxlx550
194dcf504b
add ps over rtp jitter buffer
2020-06-07 21:51:05 +08:00
kyxlx550
23ce929048
update gb28181 config wait_keyframe default on
2020-06-07 21:47:22 +08:00
winlin
db43faa848
RTC: Refine blackhole for session
2020-05-26 13:49:27 +08:00
winlin
fccbe98f70
RTC: Remove dead code, no queue_length
2020-05-26 13:45:38 +08:00
winlin
01f05f920f
RTC: Remove sendmmsg
2020-05-21 16:52:25 +08:00
winlin
9dfa0cc099
RTC: Disable padding
2020-05-21 16:52:25 +08:00
winlin
4f6b24ea12
RTC: Remove GSO for player, no premature optimization
2020-05-21 16:48:32 +08:00
winlin
4c7792f0f3
RTC: Fix config bug
2020-05-20 13:51:24 +08:00
jinxue.cgh
9840ad8d55
rtc: support publish twcc using twcc config
2020-05-19 20:35:05 +08:00
winlin
4e1935f678
RTC: Fix GSO build failed in linux
2020-05-14 13:14:52 +08:00
winlin
c31ffc40e4
Support filter RTC candidate by ip family, ipv4 by default.
2020-05-09 10:53:52 +08:00
winlin
215b1c234b
Refine the local ip and interface retrieve
2020-05-09 10:40:25 +08:00
winlin
8c4b6d3166
Support disable NACK in config
2020-05-04 20:42:30 +08:00
winlin
ef64c5e2bd
Refine RTC, reject when config disabled.
2020-05-03 13:11:38 +08:00
winlin
2a0562da5e
Refine RTC, disable NASM, SENDMMSG, SRTP-NASM
2020-05-03 11:14:11 +08:00
winlin
ed338f4c0a
Refactor macro SRS_AUTO_XXX to SRS_XXX.
2020-04-29 20:02:28 +08:00
winlin
7692e589ed
For RTC publisher, support black-hole
2020-04-27 09:35:50 +08:00
winlin
dabad68f48
Merge branch 'feature/gb28181' into develop
2020-04-21 15:27:40 +08:00
winlin
74800d0137
Refactor code
2020-04-21 12:18:49 +08:00
winlin
c93cd86ce4
For #307 , refine performance
2020-04-18 20:37:08 +08:00
winlin
08312ddc42
Support config the mw_sleep and mw_msgs
2020-04-18 10:04:45 +08:00
winlin
14e3ec2fe8
For #307 , drop frame when VBR too high
2020-04-17 12:30:53 +08:00
winlin
21ede1f084
Enable perf stat by default
2020-04-17 07:57:52 +08:00
winlin
1a6e055f7f
Support config to disable stat to improve performance.
2020-04-16 18:37:37 +08:00
winlin
b91e07f475
For #307 , change max padding to 127 for GSO.
2020-04-16 10:25:12 +08:00
winlin
ef48507e80
Support padding max to 127
2020-04-16 09:07:42 +08:00
winlin
bbdd2d7eed
For #307 , support padding for GSO
2020-04-15 15:58:17 +08:00
winlin
39853160d1
Refactor default config
2020-04-14 11:49:59 +08:00
winlin
b6a929f9cf
Enable GSO by default
2020-04-14 11:41:23 +08:00
winlin
24eb61156f
Refine logs for GSO
2020-04-14 11:39:22 +08:00
winlin
8ba3d78e86
Refine logs for GSO
2020-04-14 11:30:21 +08:00
winlin
2cd580f500
For #307 , disable GSO < linux 4.18.0
2020-04-14 11:26:45 +08:00
winlin
feaf98eb69
For #307 , remove dedicate GSO cache
2020-04-14 10:58:53 +08:00
winlin
8a71ce62db
For #307 , allow dedicated cache for GSO.
2020-04-14 09:20:21 +08:00
winlin
3b7240b8e0
For #307 , support linux GSO for RTC
2020-04-13 23:40:30 +08:00
winlin
96059e0d42
For #307 , support merge multiple slices/NALUs to one NALU/RTP/FUA
2020-04-13 19:23:17 +08:00
winlin
4400896395
Refactor code for merge_nalus and gso
2020-04-13 16:50:24 +08:00
winlin
78aad11eeb
For #307 , enable REUSEPORT to increase UDP buffer
2020-04-12 08:55:43 +08:00
kyxlx550
0d593da998
trunk/conf/full.conf
...
add sip query catalog interval config
2020-04-11 19:55:42 +08:00
winlin
d6a5651a30
For #307 , support reload rtc_server section
2020-04-10 18:14:33 +08:00
winlin
cf48a5594d
Refactor code for #1691
2020-04-09 08:37:28 +08:00
winlin
49f88a3326
Merge pull request #1691 from xialixin/dev-28181
...
Dev 28181
2020-04-09 08:28:53 +08:00