1
0
Fork 0
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:
winlin 2019-04-16 07:55:19 +08:00
parent e3983b3513
commit c1b64ba24f
13 changed files with 43 additions and 32 deletions

View file

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