一、HTTP FLV Live Stream
http_server {
enabled on;
listen 8080;
} vhost your_vhost {
http_remux {
enabled on;
mount [vhost]/[app]/[stream].flv;
}
}
二、HTTP TS Live Stream
http_server {
enabled on;
listen 8080;
} vhost your_vhost {
http_remux {
enabled on;
mount [vhost]/[app]/[stream].ts;
}
}
三、HTTP MP3 Live Stream
http_server {
enabled on;
listen 8080;
} vhost your_vhost {
http_remux {
enabled on;
fast_cache 30;
mount [vhost]/[app]/[stream].mp3;
}
}
四、HTTP AAC Live Stream
http_server {
enabled on;
listen 8080;
} vhost your_vhost {
http_remux {
enabled on;
fast_cache 30;
mount [vhost]/[app]/[stream].aac;
}
}
五、HTTP 直播流虚拟主机配置说明
注意一定要开启SRS自带的http_server
vhost your_vhost {
http_remux {
enabled on;
fast_cache 30;
mount [vhost]/[app]/[stream].flv;
hstrs on;
}
}
郑重声明:本文版权归原作者所有,转载文章仅为传播更多信息之目的,如作者信息标记有误,请第一时间联系我们修改或删除,多谢。