mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
RTC: Refine config for RTC
This commit is contained in:
parent
0b99f06eff
commit
fe9e43b6d4
9 changed files with 27 additions and 4 deletions
|
@ -18,6 +18,7 @@ http_server {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
vhost __defaultVhost__ {
|
||||
|
@ -30,7 +31,9 @@ vhost __defaultVhost__ {
|
|||
}
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtmp-to-rtc
|
||||
aac discard;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtc-to-rtmp
|
||||
rtc_to_rtmp off;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue