mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
LIVE: Add conf/live.conf for RTMP/FLV/HLS
This commit is contained in:
parent
79d73bafcf
commit
10fe04ac18
2 changed files with 30 additions and 0 deletions
28
trunk/conf/live.conf
Normal file
28
trunk/conf/live.conf
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Live streaming config for SRS.
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
srs_log_tank console;
|
||||
daemon off;
|
||||
|
||||
http_api {
|
||||
enabled on;
|
||||
listen 1985;
|
||||
}
|
||||
|
||||
http_server {
|
||||
enabled on;
|
||||
listen 8080;
|
||||
dir ./objs/nginx/html;
|
||||
}
|
||||
|
||||
vhost __defaultVhost__ {
|
||||
hls {
|
||||
enabled on;
|
||||
}
|
||||
http_remux {
|
||||
enabled on;
|
||||
mount [vhost]/[app]/[stream].flv;
|
||||
}
|
||||
}
|
|
@ -1,3 +1,5 @@
|
|||
# WebRTC streaming config for SRS.
|
||||
# @see full.conf for detail config.
|
||||
|
||||
listen 1935;
|
||||
max_connections 1000;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue