mirror of
https://github.com/ossrs/srs.git
synced 2025-11-24 11:54:21 +08:00
Enable WebRTC for srs.conf
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user