mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
For #307, refine RTC latency from 600ms to 200ms. 4.0.20
This commit is contained in:
parent
5144794044
commit
573449f1b0
7 changed files with 51 additions and 17 deletions
|
@ -605,14 +605,14 @@ public:
|
|||
// @param vhost, the vhost to get the mr sleep time.
|
||||
// TODO: FIXME: add utest for mr config.
|
||||
virtual srs_utime_t get_mr_sleep(std::string vhost);
|
||||
// Get the mw sleep time in srs_utime_t for vhost.
|
||||
// Get the mw_latency, 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 srs_utime_t get_mw_sleep(std::string vhost);
|
||||
virtual srs_utime_t get_mw_sleep(std::string vhost, bool is_rtc = false);
|
||||
// Whether min latency mode enabled.
|
||||
// @param vhost, the vhost to get the min_latency.
|
||||
// TODO: FIXME: add utest for min_latency.
|
||||
virtual bool get_realtime_enabled(std::string vhost);
|
||||
virtual bool get_realtime_enabled(std::string vhost, bool is_rtc = false);
|
||||
// Whether enable tcp nodelay for all clients of vhost.
|
||||
virtual bool get_tcp_nodelay(std::string vhost);
|
||||
// The minimal send interval in srs_utime_t.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue