Kinesis video stream sdk cpp crashes and timeouts when internet connection goes off

0

Hello! Kinesis video stream sdk cpp works well. However, due to internet distruptions sometimes the stream crashes and just hangs(Timeout).

curlCompleteSync(): HTTP Error 0 : Response: (null)

curlCompleteSync(): curl perform failed for url https://kinesisvideo.us-east-1.amazonaws.com/describeStream with result Could not resolve host name :Could not resolve host:kinesisvideo.us-east-1.amazonaws.com

Then I get a error code 0x0000000f The operation timed out. Could someone help me how to prevent the stream from timing out when there is internet distruption and reconnect when internet comes back

没有答案

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则