mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine const timeouts in time unit
This commit is contained in:
parent
61afca7160
commit
a1398892d0
7 changed files with 9 additions and 9 deletions
|
@ -87,7 +87,7 @@ void SrsEncoder::on_unpublish()
|
|||
}
|
||||
|
||||
// when error, encoder sleep for a while and retry.
|
||||
#define SRS_RTMP_ENCODER_CIMS (3000 * SRS_UTIME_MILLISECONDS)
|
||||
#define SRS_RTMP_ENCODER_CIMS (3 * SRS_UTIME_SECONDS)
|
||||
|
||||
srs_error_t SrsEncoder::cycle()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue