1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Enable WebRTC for srs.conf

This commit is contained in:
winlin 2021-10-08 21:22:34 +08:00
parent 4f77ddbc06
commit 1acb80b9c8

View file

@ -15,6 +15,11 @@ http_server {
listen 8080;
dir ./objs/nginx/html;
}
rtc_server {
enabled on;
listen 8000;
candidate $CANDIDATE;
}
vhost __defaultVhost__ {
hls {
enabled on;
@ -23,4 +28,7 @@ vhost __defaultVhost__ {
enabled on;
mount [vhost]/[app]/[stream].flv;
}
rtc {
enabled on;
}
}