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

tenfold: use timer send nacks

This commit is contained in:
jinxue.cgh 2020-05-15 18:13:03 +08:00 committed by 忘篱
parent 392e2c8161
commit c875639eb6
3 changed files with 24 additions and 9 deletions

View file

@ -142,6 +142,11 @@ SrsNackOption::SrsNackOption()
max_alive_time = 2 * SRS_UTIME_SECONDS;
first_nack_interval = 10 * SRS_UTIME_MILLISECONDS;
nack_interval = 400 * SRS_UTIME_MILLISECONDS;
//TODO: FIXME:
// audio_max_retries = 2
// video_max_retries = 4
// nack_interval = 100ms
// first_nack_interval = 10ms
}
SrsRtpNackInfo::SrsRtpNackInfo()