mirror of
https://github.com/ossrs/srs.git
synced 2025-02-12 19:31:53 +00:00
20 lines
515 B
Text
20 lines
515 B
Text
# the config for srs to remux rtmp to mp3 live stream.
|
|
# @see https://github.com/ossrs/srs/wiki/v2_CN_DeliveryHttpStream
|
|
# @see full.conf for detail config.
|
|
|
|
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;
|
|
fast_cache 30;
|
|
mount [vhost]/[app]/[stream].mp3;
|
|
}
|
|
}
|