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

Refine SrsMessageQueue.duration in time unit.

This commit is contained in:
winlin 2019-04-11 08:35:57 +08:00
parent 170cca1f58
commit 695d430dcf
6 changed files with 32 additions and 28 deletions

View file

@ -26,8 +26,8 @@
#include <srs_core.hpp>
// Wrap for coroutine.
typedef uint64_t srs_utime_t;
// Time and duration unit, in us.
typedef int64_t srs_utime_t;
// The time unit in ms, for example 100 * SRS_UTIME_MILLISECONDS means 100ms.
#define SRS_UTIME_MILLISECONDS 1000