banner
RustyNail

RustyNail

coder. 【blog】https://rustynail.me 【nostr】wss://ts.relays.world/ wss://relays.world/nostr

audio data transmission expired

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.

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.