Can SRTO_CONNTIMEO accurately set the timeout of srt_connect? #3003
Unanswered
OptimusTom426
asked this question in
Q&A
Replies: 1 comment 5 replies
-
|
There is a connection timeout unit test: test_connection_timeout.cpp. The observed accuracy is +/- 200 ms. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Ver : v1.5.0
I tried setting the timeout for srt_connect to reduce the connection wait, the pseudo code like:
However, from the output, the actual timeout period seem to increase in steps of 1000ms.
Is this result in line with expectations? Is there any relevant API or method to set a precise connection timeout?
Beta Was this translation helpful? Give feedback.
All reactions