mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Refine SRS_CONSTS_NO_TMMS to SRS_UTIME_NO_TIMEOUT
This commit is contained in:
parent
f8e6de71f3
commit
0879bef9b2
9 changed files with 23 additions and 28 deletions
|
@ -64,11 +64,6 @@
|
|||
// the following is the timeout for rtmp protocol,
|
||||
// to avoid death connection.
|
||||
|
||||
// Never timeout in ms
|
||||
// @remake Rename from SRS_CONSTS_NO_TIMEOUT
|
||||
// @see ST_UTIME_NO_TIMEOUT
|
||||
#define SRS_CONSTS_NO_TMMS ((int64_t) -1LL)
|
||||
|
||||
// the common io timeout, for connect, recv or send.
|
||||
// TODO: FIXME: Maybe change to larger value, such as 90ms?
|
||||
#define SRS_CONSTS_RTMP_TIMEOUT (30 * SRS_UTIME_MILLISECONDS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue