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

Refine ms in time unit

This commit is contained in:
winlin 2019-04-18 08:50:43 +08:00
parent 5af572ab50
commit d306ee7506
4 changed files with 5 additions and 5 deletions

View file

@ -109,7 +109,7 @@ private:
// for live play duration, for instance, rtmpdump to record.
// @see https://github.com/ossrs/srs/issues/47
srs_utime_t duration;
// the MR(merged-write) sleep time in ms.
// the MR(merged-write) sleep time in srs_utime_t.
srs_utime_t mw_sleep;
// the MR(merged-write) only enabled for play.
int mw_enabled;

View file

@ -53,7 +53,7 @@ using namespace std;
#include <srs_app_thread.hpp>
#include <srs_app_coworkers.hpp>
// system interval in ms,
// system interval in srs_utime_t,
// all resolution times should be times togother,
// for example, system-interval is x=1s(1000ms),
// then rusage can be 3*x, for instance, 3*1=3s,