Skip to content

Commit

Permalink
MP3: Add config examples for MP3. #296
Browse files Browse the repository at this point in the history
  • Loading branch information
winlinvip committed Dec 25, 2022
1 parent 05d7400 commit 0a49638
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
19 changes: 19 additions & 0 deletions trunk/conf/mp3.conf
Original file line number Diff line number Diff line change
@@ -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 changes: 15 additions & 0 deletions trunk/conf/mp3.http.conf
Original file line number Diff line number Diff line change
@@ -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 changes: 15 additions & 0 deletions trunk/conf/mp3.ts.conf
Original file line number Diff line number Diff line change
@@ -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;
}
}

0 comments on commit 0a49638

Please sign in to comment.