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
|
@ -172,7 +172,7 @@ private:
|
|||
// @see https://github.com/ossrs/srs/issues/241
|
||||
bool mr;
|
||||
int mr_fd;
|
||||
int mr_sleep;
|
||||
srs_utime_t mr_sleep;
|
||||
// for realtime
|
||||
// @see https://github.com/ossrs/srs/issues/257
|
||||
bool realtime;
|
||||
|
@ -220,7 +220,7 @@ public:
|
|||
virtual srs_error_t on_reload_vhost_publish(std::string vhost);
|
||||
virtual srs_error_t on_reload_vhost_realtime(std::string vhost);
|
||||
private:
|
||||
virtual void set_socket_buffer(int sleep_ms);
|
||||
virtual void set_socket_buffer(srs_utime_t sleep_v);
|
||||
};
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue