Open
Description
The time unit incorrect
srs/trunk/src/core/srs_core_time.hpp
Line 33 in fa8096a
time unit ms should be seconds.
// The time unit in **seconds**, for example 120 * SRS_UTIME_SECONDS means 120s. ->
#define SRS_UTIME_SECONDS 1000000LL
srsu2si: convert long long to int
srs/trunk/src/core/srs_core_time.hpp
Line 28 in fa8096a
#define srsu2si(us) ((us) / SRS_UTIME_SECONDS)
->
#define srsu2si(us) int ((us) / SRS_UTIME_SECONDS)
Version
All SRS version