mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Apply time unit
This commit is contained in:
parent
7037f6a197
commit
6239dfa489
15 changed files with 46 additions and 46 deletions
|
@ -64,15 +64,15 @@ using namespace std;
|
|||
|
||||
// the timeout in ms to wait encoder to republish
|
||||
// if timeout, close the connection.
|
||||
#define SRS_REPUBLISH_SEND_TMMS (3 * 60 * 1000)
|
||||
#define SRS_REPUBLISH_SEND_TMMS (3 * SRS_UTIME_MINUTES)
|
||||
// if timeout, close the connection.
|
||||
#define SRS_REPUBLISH_RECV_TMMS (3 * 60 * 1000)
|
||||
#define SRS_REPUBLISH_RECV_TMMS (3 * SRS_UTIME_MINUTES)
|
||||
|
||||
// the timeout in ms to wait client data, when client paused
|
||||
// if timeout, close the connection.
|
||||
#define SRS_PAUSED_SEND_TMMS (3 * 60 * 1000)
|
||||
#define SRS_PAUSED_SEND_TMMS (3 * SRS_UTIME_MINUTES)
|
||||
// if timeout, close the connection.
|
||||
#define SRS_PAUSED_RECV_TMMS (3 * 60 * 1000)
|
||||
#define SRS_PAUSED_RECV_TMMS (3 * SRS_UTIME_MINUTES)
|
||||
|
||||
// when edge timeout, retry next.
|
||||
#define SRS_EDGE_TOKEN_TRAVERSE_TMMS (3000)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue