1
0
Fork 0
mirror of https://github.com/ossrs/srs.git synced 2025-03-09 15:49:59 +00:00

Refine get_mw_sleep in time unit

This commit is contained in:
winlin 2019-04-09 09:39:16 +08:00
parent 839a496d50
commit d6828a3e58
9 changed files with 34 additions and 28 deletions

View file

@ -781,11 +781,11 @@ public:
// TODO: FIXME: add utest for mr config.
virtual srs_utime_t get_mr_sleep(std::string vhost);
/**
* get the mw sleep time in ms for vhost.
* get the mw sleep time in srs_utime_t for vhost.
* @param vhost, the vhost to get the mw sleep time.
*/
// TODO: FIXME: add utest for mw config.
virtual int get_mw_sleep_ms(std::string vhost);
virtual srs_utime_t get_mw_sleep(std::string vhost);
/**
* whether min latency mode enabled.
* @param vhost, the vhost to get the min_latency.