tenfold: modify nack options

pull/1809/head
jinxue.cgh 5 years ago committed by 忘篱
parent efe90c36a7
commit 4895770214

@ -1,6 +1,6 @@
listen 1935;
max_connections 1000;
max_connections 10;
srs_log_tank console;
srs_log_file ./objs/srs.log;
daemon off;
@ -27,7 +27,7 @@ rtc_server {
#
# The * means retrieving server IP automatically, from all network interfaces,
# @see https://github.com/ossrs/srs/issues/307#issuecomment-599028124
candidate $CANDIDATE;
candidate *;
}
vhost __defaultVhost__ {

@ -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:

Loading…
Cancel
Save