mirror of
https://github.com/ossrs/srs.git
synced 2025-03-09 15:49:59 +00:00
Fix timeout bug, use 30s as RTMP default timeout
This commit is contained in:
parent
bc1189caee
commit
9b91c10e52
1 changed files with 2 additions and 2 deletions
|
@ -65,8 +65,8 @@
|
||||||
// to avoid death connection.
|
// to avoid death connection.
|
||||||
|
|
||||||
// the common io timeout, for connect, recv or send.
|
// the common io timeout, for connect, recv or send.
|
||||||
// TODO: FIXME: Maybe change to larger value, such as 90ms?
|
// TODO: FIXME: Maybe change to smaller value, such as 3s?
|
||||||
#define SRS_CONSTS_RTMP_TIMEOUT (30 * SRS_UTIME_MILLISECONDS)
|
#define SRS_CONSTS_RTMP_TIMEOUT (30 * SRS_UTIME_SECONDS)
|
||||||
|
|
||||||
// the timeout to wait for client control message,
|
// the timeout to wait for client control message,
|
||||||
// if timeout, we generally ignore and send the data to client,
|
// if timeout, we generally ignore and send the data to client,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue