mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
MP3: Add config examples for MP3. #296
This commit is contained in:
parent
05d7400cd5
commit
0a49638f54
3 changed files with 49 additions and 0 deletions
19
trunk/conf/mp3.conf
Normal file
19
trunk/conf/mp3.conf
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
listen 1935;
|
||||||
|
max_connections 1000;
|
||||||
|
daemon off;
|
||||||
|
srs_log_tank console;
|
||||||
|
http_server {
|
||||||
|
enabled on;
|
||||||
|
listen 8080;
|
||||||
|
dir ./objs/nginx/html;
|
||||||
|
}
|
||||||
|
vhost __defaultVhost__ {
|
||||||
|
http_remux {
|
||||||
|
enabled on;
|
||||||
|
mount [vhost]/[app]/[stream].flv;
|
||||||
|
}
|
||||||
|
hls {
|
||||||
|
enabled on;
|
||||||
|
hls_acodec mp3;
|
||||||
|
}
|
||||||
|
}
|
15
trunk/conf/mp3.http.conf
Normal file
15
trunk/conf/mp3.http.conf
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
listen 1935;
|
||||||
|
max_connections 1000;
|
||||||
|
daemon off;
|
||||||
|
srs_log_tank console;
|
||||||
|
http_server {
|
||||||
|
enabled on;
|
||||||
|
listen 8080;
|
||||||
|
dir ./objs/nginx/html;
|
||||||
|
}
|
||||||
|
vhost __defaultVhost__ {
|
||||||
|
http_remux {
|
||||||
|
enabled on;
|
||||||
|
mount [vhost]/[app]/[stream].mp3;
|
||||||
|
}
|
||||||
|
}
|
15
trunk/conf/mp3.ts.conf
Normal file
15
trunk/conf/mp3.ts.conf
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
listen 1935;
|
||||||
|
max_connections 1000;
|
||||||
|
daemon off;
|
||||||
|
srs_log_tank console;
|
||||||
|
http_server {
|
||||||
|
enabled on;
|
||||||
|
listen 8080;
|
||||||
|
dir ./objs/nginx/html;
|
||||||
|
}
|
||||||
|
vhost __defaultVhost__ {
|
||||||
|
http_remux {
|
||||||
|
enabled on;
|
||||||
|
mount [vhost]/[app]/[stream].ts;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Add table
Add a link
Reference in a new issue