mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine get_mr_sleep in time unit
This commit is contained in:
parent
5df8f2f6c1
commit
839a496d50
17 changed files with 52 additions and 54 deletions
|
@ -34,7 +34,7 @@
|
|||
#include <srs_app_reload.hpp>
|
||||
#include <srs_app_async_call.hpp>
|
||||
#include <srs_app_thread.hpp>
|
||||
#include <srs_service_time.hpp>
|
||||
#include <srs_core_time.hpp>
|
||||
|
||||
class SrsRequest;
|
||||
class SrsFileWriter;
|
||||
|
@ -775,11 +775,11 @@ public:
|
|||
*/
|
||||
virtual bool get_mr_enabled(std::string vhost);
|
||||
/**
|
||||
* get the mr sleep time in ms for vhost.
|
||||
* get the mr sleep time in srs_utime_t for vhost.
|
||||
* @param vhost, the vhost to get the mr sleep time.
|
||||
*/
|
||||
// TODO: FIXME: add utest for mr config.
|
||||
virtual int get_mr_sleep_ms(std::string vhost);
|
||||
virtual srs_utime_t get_mr_sleep(std::string vhost);
|
||||
/**
|
||||
* get the mw sleep time in ms for vhost.
|
||||
* @param vhost, the vhost to get the mw sleep time.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue