mirror of
https://github.com/wangyu-/UDPspeeder.git
synced 2025-01-31 12:19:35 +08:00
changed default values ,changed makefile
This commit is contained in:
parent
34cb20a464
commit
709732a2ec
10
main.cpp
10
main.cpp
@ -33,10 +33,10 @@ int debug_force_flush_fec=0;
|
||||
|
||||
int fec_data_num=20;
|
||||
int fec_redundant_num=10;
|
||||
int fec_mtu=1200;
|
||||
int fec_mtu=1250;
|
||||
int fec_pending_num=200;
|
||||
int fec_pending_time=10*1000; //10ms
|
||||
int fec_type=0;
|
||||
int fec_pending_time=8*1000; //8ms
|
||||
int fec_type=1;
|
||||
|
||||
int jitter_min=0*1000;
|
||||
int jitter_max=0*1000;
|
||||
@ -1170,8 +1170,8 @@ void print_help()
|
||||
|
||||
printf("main options:\n");
|
||||
printf(" -f,--fec x:y forward error correction,send y redundant packets for every x packets\n");
|
||||
printf(" --timeout <number> how long could a packet be held in queue before doing fec,unit: ms\n");
|
||||
printf(" --mode <number> fec-mode,available values: 0,1 ; 0 cost less bandwidth,1 cost less latency\n");
|
||||
printf(" --timeout <number> how long could a packet be held in queue before doing fec,unit: ms,default :8ms\n");
|
||||
printf(" --mode <number> fec-mode,available values: 0,1 ; 0 cost less bandwidth,1 cost less latency(default)\n");
|
||||
printf(" --report <number> turn on send/recv report,and set a period for reporting,unit:s\n");
|
||||
|
||||
printf("advanced options:\n");
|
||||
|
2
makefile
2
makefile
@ -10,7 +10,7 @@ FLAGS= -std=c++11 -Wall -Wextra -Wno-unused-variable -Wno-unused-parameter -Wn
|
||||
|
||||
SOURCES=main.cpp log.cpp common.cpp lib/fec.c lib/rs.c packet.cpp delay_manager.cpp fd_manager.cpp connection.cpp fec_manager.cpp
|
||||
|
||||
NAME=speeder
|
||||
NAME=speederv2
|
||||
TARGETS=amd64 arm mips24kc_be x86 mips24kc_le
|
||||
|
||||
TAR=${NAME}_binaries.tar.gz `echo ${TARGETS}|sed -r 's/([^ ]+)/speeder_\1/g'`
|
||||
|
Loading…
x
Reference in New Issue
Block a user