-
-
Notifications
You must be signed in to change notification settings - Fork 5.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Encoder streaming timeout overseas #598
Comments
After a certain period of time, the encoder from abroad did not disconnect the connection, nor did it send any command packets, but it stopped sending any audio or video data.
|
The encoder did not report any errors, and the network is also functioning properly. There is no such issue when pushing to other servers (nginx, fms).
|
By comparing the packet capture with nginx, it was found that the WindowAcknowledgementSize is different when receiving around 4GB of data. In the protocol, WindowAcknowledgementSize is only 4 bytes, and the maximum it can represent is also 4GB. SRS did not handle the overflow.
|
Is it only 31 bits? I didn't understand the root of the problem you mentioned. Are you saying that nginx is 32 bits, which means 4GB?
|
ack size is 31 bits.
|
This problem could be an ack overflow or it may require setting a default in ack size. The overflow issue has been resolved in SRS2. The support for setting in ack size has been added in SRS3.
|
TRANS_BY_GPT3
The text was updated successfully, but these errors were encountered: