Audio Data Transmission Timeout#
When transferring data to the frontend audio in the background, it often disconnects. After searching for a long time and not finding the bug, it was discovered that the connection time of Tomcat had expired.
Modify this line in \tomcat path\conf\server.xml
<Connector port="8080" protocol="HTTP/1.1"
connectionTimeout="900000"
redirectPort="8443" />
Increase the connectionTimeout
value, the unit should be in milliseconds, default is 20000
.
Oh, it's so frustrating.