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

沒有答案

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南