mirror of https://github.com/ossrs/srs.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
630 B
Plaintext
25 lines
630 B
Plaintext
# the config for srs to remux rtmp to flv live stream.
|
|
# @see https://github.com/simple-rtmp-server/srs/wiki/v2_CN_DeliveryHttpStream
|
|
# @see full.conf for detail config.
|
|
|
|
listen 19351;
|
|
max_connections 1000;
|
|
pid objs/srs.flv.19351.pid;
|
|
srs_log_file objs/srs.flv.19351.log;
|
|
http_server {
|
|
enabled on;
|
|
listen 8081;
|
|
dir ./objs/nginx/html;
|
|
}
|
|
vhost __defaultVhost__ {
|
|
cluster {
|
|
mode remote;
|
|
origin 127.0.0.1;
|
|
}
|
|
http_remux {
|
|
enabled on;
|
|
mount [vhost]/[app]/[stream].flv;
|
|
hstrs on;
|
|
}
|
|
}
|