Skip to content
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

Closed
zhengfl opened this issue May 16, 2016 · 6 comments
Closed

Encoder streaming timeout overseas #598

zhengfl opened this issue May 16, 2016 · 6 comments
Assignees
Labels
TransByAI Translated by AI/GPT.
Milestone

Comments

@zhengfl
Copy link
Contributor

zhengfl commented May 16, 2016

TRANS_BY_GPT3

@zhengfl
Copy link
Contributor Author

zhengfl commented May 16, 2016

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.

TRANS_BY_GPT3

@zhengfl
Copy link
Contributor Author

zhengfl commented May 16, 2016

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).

TRANS_BY_GPT3

@zhengfl
Copy link
Contributor Author

zhengfl commented May 16, 2016

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.

TRANS_BY_GPT3

@winlinvip
Copy link
Member

winlinvip commented May 16, 2016

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?

TRANS_BY_GPT3

@winlinvip winlinvip added this to the srs 2.0 release milestone Aug 8, 2016
@winlinvip
Copy link
Member

winlinvip commented Aug 8, 2016

ack size is 31 bits.

TRANS_BY_GPT3

@winlinvip
Copy link
Member

winlinvip commented Jan 6, 2017

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

@winlinvip winlinvip self-assigned this Sep 23, 2021
@winlinvip winlinvip changed the title 国外编码器推流超时 Encoder streaming timeout overseas Jul 28, 2023
@winlinvip winlinvip added the TransByAI Translated by AI/GPT. label Jul 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
TransByAI Translated by AI/GPT.
Projects
None yet
Development

No branches or pull requests

2 participants