We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
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
Line 28 in fa8096a
#define srsu2si(us) ((us) / SRS_UTIME_SECONDS) -> #define srsu2si(us) int ((us) / SRS_UTIME_SECONDS)
#define srsu2si(us) ((us) / SRS_UTIME_SECONDS)
#define srsu2si(us) int ((us) / SRS_UTIME_SECONDS)
Version All SRS version
The text was updated successfully, but these errors were encountered:
issue ossrs#3976: fix time unit problem.
72d3b25
Nice work. Thank you.
Sorry, something went wrong.
e969a4b
Typo: Fix some typos for #3973 #3976 #3982. v6.0.114 (#3973)
954b1b7
winlinvip
Successfully merging a pull request may close this issue.
The time unit incorrect
srs/trunk/src/core/srs_core_time.hpp
Line 33 in fa8096a
time unit ms should be seconds.
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
The text was updated successfully, but these errors were encountered: