Winlin
1c4ecefcb6
AI: Config: Move RTMP configs to rtmp{} section. v7.0.64 ( #4454 )
...
This PR reorganizes SRS configuration structure by moving RTMP-specific
configurations from global scope to a dedicated `rtmp {}` section, and
includes various cleanups.
**Before (SRS 6.x):**
```nginx
listen 1935;
chunk_size 60000;
max_connections 1000;
```
**After (SRS 7.0+):**
```nginx
max_connections 1000;
rtmp {
listen 1935;
chunk_size 60000;
}
```
Cleanup:
* Removed unused threads_interval configuration and related code
* Cleaned up reload handlers and removed obsolete functionality
---------
Co-authored-by: OSSRS-AI <winlinam@gmail.com>
2025-08-27 19:27:23 -04:00
winlin
964ef997cb
Update docs link to latest in code.
2025-07-05 09:32:11 -04:00
Winlin
b34255c3d0
WebRTC: Support configure CANDIDATE by env ( #3470 )
...
In dockerfile, we can set the default RTC candidate to env:
```
ENV SRS_RTC_SERVER_CANDIDATE=\$CANDIDATE
CMD ["./objs/srs", "-e"]
```
When starts a docker container, user can setup the candidate by env:
```
docker run --rm -it --env CANDIDATE=1.2.3.4 ossrs/srs:5
```
We should parse the content of SRS_RTC_SERVER_CANDIDATE as env variable name and parse it again.
---------
Co-authored-by: chundonglinlin <chundonglinlin@163.com>
Co-authored-by: pengfei.ma <pengfei.ma@ctechm.com>
2023-03-27 19:24:08 +08:00
winlin
d57e9c758e
Docs: Migrate to ossrs.net and ossrs.io
2022-07-31 16:26:35 +08:00
winlin
548fcd627b
Config: Update config files, daemon off, log to console
2021-02-19 18:54:00 +08:00
winlin
cc6b71e1ae
Update conf to follow wiki
2020-10-23 20:50:56 +08:00
winlin
5fec59ace2
merge from srs2, fix #503
2017-02-09 14:33:56 +08:00
winlin
15570d93ce
change conf to console without daemon.
2017-02-09 14:17:36 +08:00
winlin
01c46bdbfd
rename org simle-rtmp-server to ossrs
2015-11-11 10:45:45 +08:00
winlin
1ffd5fd455
rename org simple-rtmp-server to ossrs
2015-11-11 10:37:50 +08:00
winlin
4eb1874955
for #319 , the vhost scope config is enabled, chunk_size, tcp_nodelay and min_latency.
2015-08-30 06:49:20 +08:00
winlin
d6b0aa3a5b
for #319 , move time_jitter and mix_correct to play
2015-08-29 23:18:25 +08:00
winlin
738642073e
for #319 , refine config, collect the mr and publish timeout
2015-08-29 22:41:50 +08:00
winlin
9fb4640a8f
enable the SRS_PERF_TCP_NODELAY and add config tcp_nodelay. 2.0.182
2015-08-12 13:22:09 +08:00
winlin
115daa3cc1
migarate from winlinvip to srs org
2015-04-29 17:06:32 +08:00
winlin
75f2607685
fix #211 , support security allow/deny publish/play all/ip. 2.0.86
2015-01-02 16:02:13 +08:00
winlin
10297fab51
fix #257 , support 0.1s+ latency. 2.0.70
2014-12-12 21:51:06 +08:00
winlin
68ade0a267
add log info for rtmp conn. change the mw_latency to 100 for realtime.
2014-12-10 18:06:09 +08:00
winlin
59f68a2655
add prefix wiki/v1_CN_ or wiki/v1_EN_ to wiki.
2014-10-24 11:35:06 +08:00
winlin
e46e7fc596
update readme, rename wiki/xxx to wiki/v1_xxx
2014-10-24 09:58:53 +08:00
winlin
ebf9e560b1
refine the max connections, compare the system ulimit max open files, error when exeed limit
2014-07-26 15:34:45 +08:00
winlin
b52a051d80
refine readme, confs
2014-03-18 15:38:34 +08:00
winlin
e6e32f963c
add wiki Usage: Forward and Realtime
2014-03-11 00:01:24 +08:00