1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Config: Update config files, daemon off, log to console

This commit is contained in:
winlin 2021-02-18 11:39:25 +08:00
parent 57919e4351
commit adb6f723c7
24 changed files with 46 additions and 13 deletions

View file

@ -4,9 +4,8 @@
listen 19350; listen 19350;
max_connections 1000; max_connections 1000;
daemon on; daemon off;
srs_log_tank file; srs_log_tank console;
srs_log_file ./objs/srs.demo.19350.log;
pid ./objs/srs.demo.19350.pid; pid ./objs/srs.demo.19350.pid;
vhost __defaultVhost__ { vhost __defaultVhost__ {

View file

@ -4,9 +4,8 @@
listen 1935; listen 1935;
max_connections 1000; max_connections 1000;
daemon on; daemon off;
srs_log_tank file; srs_log_tank console;
srs_log_file ./objs/srs.demo.log;
pid ./objs/srs.demo.pid; pid ./objs/srs.demo.pid;
chunk_size 60000; chunk_size 60000;

View file

@ -4,6 +4,8 @@
listen 1935; listen 1935;
max_connections 1000; max_connections 1000;
daemon off;
srs_log_tank console;
vhost __defaultVhost__ { vhost __defaultVhost__ {
dvr { dvr {
enabled on; enabled on;

View file

@ -5,6 +5,8 @@
listen 1935; listen 1935;
max_connections 1000; max_connections 1000;
pid objs/edge.pid; pid objs/edge.pid;
daemon off;
srs_log_tank console;
vhost __defaultVhost__ { vhost __defaultVhost__ {
cluster { cluster {
mode remote; mode remote;

View file

@ -5,6 +5,8 @@
listen 1935; listen 1935;
max_connections 1000; max_connections 1000;
pid objs/edge2.pid; pid objs/edge2.pid;
daemon off;
srs_log_tank console;
vhost __defaultVhost__ { vhost __defaultVhost__ {
cluster { cluster {
mode remote; mode remote;

View file

@ -4,6 +4,8 @@
listen 1935; listen 1935;
max_connections 1000; max_connections 1000;
daemon off;
srs_log_tank console;
vhost __defaultVhost__ { vhost __defaultVhost__ {
exec { exec {
enabled on; enabled on;

View file

@ -4,6 +4,8 @@
listen 1935; listen 1935;
max_connections 1000; max_connections 1000;
daemon off;
srs_log_tank console;
vhost __defaultVhost__ { vhost __defaultVhost__ {
transcode { transcode {
enabled on; enabled on;

View file

@ -5,6 +5,8 @@
listen 1935; listen 1935;
max_connections 1000; max_connections 1000;
pid ./objs/srs.master.pid; pid ./objs/srs.master.pid;
daemon off;
srs_log_tank console;
vhost __defaultVhost__ { vhost __defaultVhost__ {
forward { forward {
enabled on; enabled on;

View file

@ -5,5 +5,7 @@
listen 19350; listen 19350;
max_connections 1000; max_connections 1000;
pid ./objs/srs.slave.pid; pid ./objs/srs.slave.pid;
daemon off;
srs_log_tank console;
vhost __defaultVhost__ { vhost __defaultVhost__ {
} }

View file

@ -4,6 +4,8 @@
listen 1935; listen 1935;
max_connections 1000; max_connections 1000;
daemon off;
srs_log_tank console;
http_server { http_server {
enabled on; enabled on;
listen 8080; listen 8080;

View file

@ -4,6 +4,8 @@
listen 1935; listen 1935;
max_connections 1000; max_connections 1000;
daemon off;
srs_log_tank console;
http_server { http_server {
enabled on; enabled on;
listen 8080; listen 8080;

View file

@ -3,8 +3,8 @@
listen 1935; listen 1935;
max_connections 1000; max_connections 1000;
srs_log_tank file; daemon off;
srs_log_file ./objs/srs.log; srs_log_tank console;
http_api { http_api {
enabled on; enabled on;
listen 1985; listen 1985;

View file

@ -4,6 +4,8 @@
listen 1935; listen 1935;
max_connections 1000; max_connections 1000;
daemon off;
srs_log_tank console;
http_server { http_server {
enabled on; enabled on;
listen 8080; listen 8080;

View file

@ -5,6 +5,8 @@
listen 19351; listen 19351;
max_connections 1000; max_connections 1000;
pid objs/srs.flv.19351.pid; pid objs/srs.flv.19351.pid;
daemon off;
srs_log_tank console;
http_server { http_server {
enabled on; enabled on;
listen 8081; listen 8081;

View file

@ -5,6 +5,8 @@
listen 19352; listen 19352;
max_connections 1000; max_connections 1000;
pid objs/srs.flv.19352.pid; pid objs/srs.flv.19352.pid;
daemon off;
srs_log_tank console;
http_server { http_server {
enabled on; enabled on;
listen 8082; listen 8082;

View file

@ -4,6 +4,8 @@
listen 1935; listen 1935;
max_connections 1000; max_connections 1000;
daemon off;
srs_log_tank console;
vhost __defaultVhost__ { vhost __defaultVhost__ {
ingest livestream { ingest livestream {
enabled on; enabled on;

View file

@ -4,6 +4,8 @@
listen 1935; listen 1935;
max_connections 1000; max_connections 1000;
daemon off;
srs_log_tank console;
vhost __defaultVhost__ { vhost __defaultVhost__ {
ingest { ingest {
enabled on; enabled on;

View file

@ -5,5 +5,7 @@
listen 19350; listen 19350;
max_connections 1000; max_connections 1000;
pid ./objs/origin.pid; pid ./objs/origin.pid;
daemon off;
srs_log_tank console;
vhost __defaultVhost__ { vhost __defaultVhost__ {
} }

View file

@ -2,6 +2,8 @@
listen 1935; listen 1935;
max_connections 1000; max_connections 1000;
daemon off;
srs_log_tank console;
http_api { http_api {
enabled on; enabled on;

View file

@ -4,6 +4,8 @@
listen 1935; listen 1935;
max_connections 1000; max_connections 1000;
daemon off;
srs_log_tank console;
vhost __defaultVhost__ { vhost __defaultVhost__ {
tcp_nodelay on tcp_nodelay on
min_latency on; min_latency on;

View file

@ -1,7 +1,8 @@
listen 1935; listen 1935;
max_connections 1000; max_connections 1000;
srs_log_file ./objs/srs.log; daemon off;
srs_log_tank console;
http_server { http_server {
enabled on; enabled on;

View file

@ -4,5 +4,7 @@
listen 1935; listen 1935;
max_connections 1000; max_connections 1000;
daemon off;
srs_log_tank console;
vhost __defaultVhost__ { vhost __defaultVhost__ {
} }

View file

@ -15,10 +15,6 @@ http_server {
listen 8080; listen 8080;
dir ./objs/nginx/html; dir ./objs/nginx/html;
} }
stats {
network 0;
disk sda sdb xvda xvdb;
}
vhost __defaultVhost__ { vhost __defaultVhost__ {
hls { hls {
enabled on; enabled on;

View file

@ -2,6 +2,8 @@
listen 1935; listen 1935;
max_connections 1000; max_connections 1000;
daemon off;
srs_log_tank console;
http_api { http_api {
enabled on; enabled on;