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

For #307, support config RTC session timeout

This commit is contained in:
winlin 2020-04-08 13:30:28 +08:00
parent 8e0f83fdd2
commit e6e8605304
5 changed files with 36 additions and 4 deletions

View file

@ -434,6 +434,10 @@ vhost rtc.vhost.srs.com {
# discard Discard aac audio packet.
# default: transcode
aac transcode;
# The timeout in seconds for session timeout.
# Client will send ping(STUN binding request) to server, we use it as heartbeat.
# default: 30
stun_timeout 30;
}
# whether enable min delay mode for vhost.
# For RTC, we recommend to set to on.