2015-05-24 09:15:30 +08:00
|
|
|
# the config for srs to remux rtmp to flv live stream.
|
2025-07-05 09:32:11 -04:00
|
|
|
# @see https://ossrs.io/lts/en-us/docs/v7/doc/flv
|
2015-05-24 09:15:30 +08:00
|
|
|
# @see full.conf for detail config.
|
|
|
|
|
|
2015-05-24 08:41:29 +08:00
|
|
|
max_connections 1000;
|
|
|
|
|
pid objs/srs.flv.19351.pid;
|
2021-02-18 11:39:25 +08:00
|
|
|
daemon off;
|
|
|
|
|
srs_log_tank console;
|
2025-08-27 19:27:23 -04:00
|
|
|
|
|
|
|
|
# RTMP server configuration
|
|
|
|
|
rtmp {
|
|
|
|
|
listen 19351;
|
|
|
|
|
}
|
2015-05-24 08:41:29 +08:00
|
|
|
http_server {
|
|
|
|
|
enabled on;
|
|
|
|
|
listen 8081;
|
|
|
|
|
dir ./objs/nginx/html;
|
|
|
|
|
}
|
|
|
|
|
vhost __defaultVhost__ {
|
2015-09-11 08:21:06 +08:00
|
|
|
cluster {
|
|
|
|
|
mode remote;
|
|
|
|
|
origin 127.0.0.1;
|
|
|
|
|
}
|
2015-05-24 08:41:29 +08:00
|
|
|
http_remux {
|
|
|
|
|
enabled on;
|
|
|
|
|
mount [vhost]/[app]/[stream].flv;
|
|
|
|
|
}
|
|
|
|
|
}
|