Closed thanhdat9526 closed 1 year ago
You can find all configurations for SRS in this file: conf/full.conf. To locate the default timeout of 5000, simply search for it within the file, and you will come across the relevant configuration.
vhost __defaultVhost__ {
publish {
# the normal packet timeout in ms for encoder.
# Overwrite by env SRS_VHOST_PUBLISH_NORMAL_TIMEOUT for all vhosts.
# default: 5000
normal_timeout 7000;
}
}
However, it is not recommended to modify this value, as it indicates that there have been no media packets from your client for 5 seconds. Instead, you should investigate your network or client for potential issues.
Description
Please description your issue here
SRS Version: 4.0
SRS Log:
Question: I urgently need an exact answer: How can I increase the timeout, I see default value of 5000 milliseconds and I don't know how to change it for my configuration