Haivision / srt

Secure, Reliable, Transport
https://www.srtalliance.org
Mozilla Public License 2.0
3.12k stars 851 forks source link

Recommended fec configuration? #2987

Closed mycrl closed 3 months ago

mycrl commented 3 months ago

First of all is there any recommended fec configuration?

Then I recently encountered a problem. SRT would disconnect after about 3 hours, almost always about 3 hours. What is the reason? My network is a local area network, with little packet loss and a good network environment. Is there a problem with SRT Windows support? I am using the master branch.

ethouris commented 3 months ago

Well, there's no recommended configuration for FEC, it depends on characteristics of the network link that you use, and how much of the potential overhead capacity you have and how often the current capacity drops below your sending rate.

That interrupt after 3 hours is something not known to us. There are many factors that could cause this, and to determine what it could be, the best approach would be to turn on debug logs, likely also with limited functional areas to network related one only. This can be just as well some setting in the local network that limits the use of a UDP link, but an emergency connection break in SRT is also potentially possible. That would be also visible in the logs, should that be the case.

mycrl commented 3 months ago

Well, there's no recommended configuration for FEC, it depends on characteristics of the network link that you use, and how much of the potential overhead capacity you have and how often the current capacity drops below your sending rate.

That interrupt after 3 hours is something not known to us. There are many factors that could cause this, and to determine what it could be, the best approach would be to turn on debug logs, likely also with limited functional areas to network related one only. This can be just as well some setting in the local network that limits the use of a UDP link, but an emergency connection break in SRT is also potentially possible. That would be also visible in the logs, should that be the case.

OK, thanks!