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

1. Modify rtc.conf to support Bframe discard.

2. Rename srs_app_rtp.cpp to srs_app_rtc.cpp
This commit is contained in:
xiaozhihong 2020-03-21 21:26:30 +08:00
parent 68ad006b73
commit fa700dad64
10 changed files with 129 additions and 69 deletions

View file

@ -309,7 +309,7 @@ srt_server {
#############################################################################################
# WebRTC server section
#############################################################################################
rtc {
rtc_server {
# Whether enable WebRTC server.
# default: off
enabled on;

View file

@ -18,7 +18,7 @@ http_api {
stats {
network 0;
}
rtc {
rtc_server {
enabled on;
# Listen at udp://8000
listen 8000;
@ -32,5 +32,9 @@ rtc {
}
vhost __defaultVhost__ {
rtc {
enabled on;
bframe discard;
}
}