-
I'd like to ask a question to isolate the source of my problem. Version |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Theoretically there's nothing wrong with it, but note that the default value of the sender and receiver buffers are intended for low latency. Higher latency may be held up, but in this case you need to set up a bigger receiver buffer capacity (SRTO_RCVBUF). You can find some information here how to calculate the required capacity: https://github.com/Haivision/srt/blob/master/docs/API/API-socket-options.md#srto_fc Too small buffer capacity will simply result in dropping packets that can't be put there and dropping them, if they can't be recovered in time, as well as breaking the connection if that has led to irrecoverable sequence discrepancy. |
Beta Was this translation helpful? Give feedback.
Theoretically there's nothing wrong with it, but note that the default value of the sender and receiver buffers are intended for low latency. Higher latency may be held up, but in this case you need to set up a bigger receiver buffer capacity (SRTO_RCVBUF). You can find some information here how to calculate the required capacity: https://github.com/Haivision/srt/blob/master/docs/API/API-socket-options.md#srto_fc
Too small buffer capacity will simply result in dropping packets that can't be put there and dropping them, if they can't be recovered in time, as well as breaking the connection if that has led to irrecoverable sequence discrepancy.