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:
parent
170cca1f58
commit
695d430dcf
6 changed files with 32 additions and 28 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue