Fix timeout bug, use 30s as RTMP default timeout

pull/1651/head
winlin
parent bc1189caee
commit 9b91c10e52

@ -65,8 +65,8 @@
// to avoid death connection.
// 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)
// TODO: FIXME: Maybe change to smaller value, such as 3s?
#define SRS_CONSTS_RTMP_TIMEOUT (30 * SRS_UTIME_SECONDS)
// the timeout to wait for client control message,
// if timeout, we generally ignore and send the data to client,

Loading…
Cancel
Save