Can SRTO_CONNTIMEO accurately set the timeout of srt_connect? #3003
Unanswered
KevinChau9527
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
-
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