-
Notifications
You must be signed in to change notification settings - Fork 851
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
[docs] Added buffer configuration guide #1951
[docs] Added buffer configuration guide #1951
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor edits
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No changes.
Co-authored-by: stevomatthews <smatthews@haivision.com>
docs/API/configure-buffers.md
Outdated
- **300 Mbits** of payload in the default file transfer configuration with an SRT payload size of **1456 bytes**. | ||
|
||
The default receiver buffer size is 8192 packets. It is approximately: | ||
- **86 Mbits** of payload with the effective SRT payload size of **1316 bytes**. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What's about 1456 bytes?
docs/API/configure-buffers.md
Outdated
|
||
The minimum size of the receiver buffer in packets can be calculated as follows: | ||
|
||
`pktsRBufSize = bps / 8 × (RTTsec + latency_sec) / bytePayloadSize` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we consider better variables' names here?
pktsRBufSize -> pktsRecvBufSize
bps -> bpsRate
RTTsec -> secRTT
secLatency
bytesPayloadSize
docs/API/configure-buffers.md
Outdated
|
||
- `bps` is the payload bitrate of the stream in bits per second; | ||
- `RTTsec` is the RTT of the network connection in seconds; | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
latency is missing?
Added configure-buffers.md document.
Closes #703.