mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
时间戳跳变最大阈值调整为3秒
This commit is contained in:
parent
b351f4c7e5
commit
ba0eaf26fc
@ -11,7 +11,7 @@
|
|||||||
#include "Stamp.h"
|
#include "Stamp.h"
|
||||||
|
|
||||||
//时间戳最大允许跳变30秒,主要是防止网络抖动导致的跳变
|
//时间戳最大允许跳变30秒,主要是防止网络抖动导致的跳变
|
||||||
#define MAX_DELTA_STAMP (30 * 1000)
|
#define MAX_DELTA_STAMP (3 * 1000)
|
||||||
#define STAMP_LOOP_DELTA (60 * 1000)
|
#define STAMP_LOOP_DELTA (60 * 1000)
|
||||||
#define MAX_CTS 500
|
#define MAX_CTS 500
|
||||||
#define ABS(x) ((x) > 0 ? (x) : (-x))
|
#define ABS(x) ((x) > 0 ? (x) : (-x))
|
||||||
|
Loading…
Reference in New Issue
Block a user