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

tenfold: modify nack options

This commit is contained in:
jinxue.cgh 2020-05-17 20:20:37 +08:00 committed by 忘篱
parent efe90c36a7
commit 4895770214
2 changed files with 5 additions and 5 deletions

View file

@ -158,10 +158,10 @@ void SrsRtpRingBuffer::notify_drop_seq(uint16_t seq)
SrsNackOption::SrsNackOption()
{
max_count = 10;
max_alive_time = 2 * SRS_UTIME_SECONDS;
max_count = 15;
max_alive_time = 1 * SRS_UTIME_SECONDS;
first_nack_interval = 10 * SRS_UTIME_MILLISECONDS;
nack_interval = 400 * SRS_UTIME_MILLISECONDS;
nack_interval = 50 * SRS_UTIME_MILLISECONDS;
//TODO: FIXME: audio and video using diff nack strategy
// janus nack option:
// video: