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:
parent
efe90c36a7
commit
4895770214
2 changed files with 5 additions and 5 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue