diff --git a/trunk/conf/mp3.conf b/trunk/conf/mp3.conf new file mode 100644 index 000000000..d3e0f01ad --- /dev/null +++ b/trunk/conf/mp3.conf @@ -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; + } +} diff --git a/trunk/conf/mp3.http.conf b/trunk/conf/mp3.http.conf new file mode 100644 index 000000000..7b198230f --- /dev/null +++ b/trunk/conf/mp3.http.conf @@ -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; + } +} diff --git a/trunk/conf/mp3.ts.conf b/trunk/conf/mp3.ts.conf new file mode 100644 index 000000000..c7b7ddd40 --- /dev/null +++ b/trunk/conf/mp3.ts.conf @@ -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; + } +}