-
Notifications
You must be signed in to change notification settings - Fork 856
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
Why is it that I set the size of rcvbuf but the actual m_pRcvBuffer->capacity() size doesn't change it is always 25599 #2790
Comments
Do you check the result of |
You probably want |
Ok, to clear things up about the terminology: "Capacity" is the total size of the memory allocated by the buffer, and it encloses the used and unused space. Used space in the buffer is "size" and unused - "avail". |
I found that it seems to be limited by this parameter (SRTO_FC) to the rcvbuf max value |
Since I set the latency very large, it took a long time to release the packets in the buffer, so the rcvbuf was not enough |
Latency doesn't influence the buffer capacity. If it too small in particular circumstances, it should be adjusted. Whether it is, it depends not only on latency, but also bitrate, for which there is no corresponding option in SRT. |
Please refer to the Configuration Guidelines. |
The text was updated successfully, but these errors were encountered: