mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine get_queue_length and set_queue_size in time unit
This commit is contained in:
parent
e3983b3513
commit
c1b64ba24f
13 changed files with 43 additions and 32 deletions
|
@ -148,8 +148,8 @@
|
|||
*/
|
||||
// whether gop cache is on.
|
||||
#define SRS_PERF_GOP_CACHE true
|
||||
// in seconds, the live queue length.
|
||||
#define SRS_PERF_PLAY_QUEUE 30
|
||||
// in srs_utime_t, the live queue length.
|
||||
#define SRS_PERF_PLAY_QUEUE (30 * SRS_UTIME_SECONDS)
|
||||
|
||||
/**
|
||||
* whether always use complex send algorithm.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue