2014-03-18 07:38:34 +00:00
|
|
|
# the config for srs to delivery realtime RTMP stream
|
2022-07-31 08:26:35 +00:00
|
|
|
# @see https://ossrs.net/lts/zh-cn/docs/v4/doc/sample-realtime
|
2014-03-18 07:38:34 +00:00
|
|
|
# @see full.conf for detail config.
|
|
|
|
|
2014-03-10 16:01:24 +00:00
|
|
|
listen 1935;
|
2014-07-26 07:34:45 +00:00
|
|
|
max_connections 1000;
|
2021-02-18 03:39:25 +00:00
|
|
|
daemon off;
|
|
|
|
srs_log_tank console;
|
2014-03-10 16:01:24 +00:00
|
|
|
vhost __defaultVhost__ {
|
2015-08-29 22:49:20 +00:00
|
|
|
tcp_nodelay on
|
|
|
|
min_latency on;
|
2015-08-29 15:18:25 +00:00
|
|
|
|
|
|
|
play {
|
|
|
|
gop_cache off;
|
|
|
|
queue_length 10;
|
|
|
|
mw_latency 100;
|
|
|
|
}
|
|
|
|
|
2015-08-29 14:41:50 +00:00
|
|
|
publish {
|
|
|
|
mr off;
|
|
|
|
}
|
2014-03-10 16:01:24 +00:00
|
|
|
}
|