2015-01-18 10:00:40 +00:00
|
|
|
# the config for srs to remux rtmp to flv live stream.
|
2015-11-11 02:37:50 +00:00
|
|
|
# @see https://github.com/ossrs/srs/wiki/v2_CN_DeliveryHttpStream
|
2015-01-18 10:00:40 +00:00
|
|
|
# @see full.conf for detail config.
|
|
|
|
|
|
|
|
listen 1935;
|
|
|
|
max_connections 1000;
|
2021-02-18 03:39:25 +00:00
|
|
|
daemon off;
|
|
|
|
srs_log_tank console;
|
2015-01-22 01:34:33 +00:00
|
|
|
http_server {
|
2015-01-18 10:00:40 +00:00
|
|
|
enabled on;
|
|
|
|
listen 8080;
|
|
|
|
dir ./objs/nginx/html;
|
|
|
|
}
|
|
|
|
vhost __defaultVhost__ {
|
2015-01-22 01:34:33 +00:00
|
|
|
http_remux {
|
2015-01-18 10:00:40 +00:00
|
|
|
enabled on;
|
|
|
|
mount [vhost]/[app]/[stream].flv;
|
|
|
|
}
|
|
|
|
}
|