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

@ -729,11 +729,11 @@ public:
*/
virtual bool get_mix_correct(std::string vhost);
/**
* get the cache queue length, in seconds.
* get the cache queue length, in srs_utime_t.
* when exceed the queue length, drop packet util I frame.
* @remark, default 10.
* @remark, default 10s.
*/
virtual double get_queue_length(std::string vhost);
virtual srs_utime_t get_queue_length(std::string vhost);
/**
* whether the refer hotlink-denial enabled.
*/