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
|
@ -20,13 +20,16 @@ stats {
|
|||
rtc_server {
|
||||
enabled on;
|
||||
listen 8000;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#config-candidate
|
||||
candidate $CANDIDATE;
|
||||
}
|
||||
|
||||
vhost __defaultVhost__ {
|
||||
rtc {
|
||||
enabled on;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtmp-to-rtc
|
||||
aac transcode;
|
||||
# @see https://github.com/ossrs/srs/wiki/v4_CN_WebRTC#rtc-to-rtmp
|
||||
rtc_to_rtmp on;
|
||||
}
|
||||
http_remux {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue