awslabs / amazon-kinesis-video-streams-producer-sdk-cpp

Amazon Kinesis Video Streams Producer SDK for C++ is for developers to install and customize for their connected camera and other devices to securely stream video, audio, and time-encoded data to Kinesis Video Streams.
Apache License 2.0
373 stars 336 forks source link

Describe stream result event.ERROR #39

Closed antoniolobefaro closed 6 years ago

antoniolobefaro commented 6 years ago

describeStreamResultEvent(): Describe stream result event.ERROR - Submitting event result for stream: 94040122179894 failed with: 1375731729 ERROR - Reporting stream error. Errored timecode: 0 Status: 1375731729 ERROR - Failed to create Kinesis Video Stream - timed out. terminate called after throwing an instance of 'std::runtime_error' what(): Failed to create Kinesis Video Stream - timed out.

What is this Error? Thanks

unicornss commented 6 years ago

Please see if the steps to resolution outlined here https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp/issues/22 help - in terms of connectivity and/or credentials issues.

A detailed log (after removing credentials) would be helpful to debug the issue.

MushMal commented 6 years ago

@antoniolobefaro, could you please mention whether this is a persistent error? Could you include more logs to see if the SDK retry results in the same error (which in this case a generic timeout). Also, please make sure your device has a network connection and there are no blocking proxies in between.

antoniolobefaro commented 6 years ago

Hi, I checked the rtsp url connection and I had problem with that. after I fixed that problem everything is ok. Now my rtsp streaming is on kinesis video stream. Thanks

unicornss commented 6 years ago

Glad to hear that you are able to successfully stream from RTSP url to Kinesis Video Stream.

-SS

unicornss commented 6 years ago

Hi @antoniolobefaro It would be great if you could provide us the camera type and the OS version where you are running the streaming from? Thanks -SS

antoniolobefaro commented 6 years ago

I deployed the environment in ubuntu 17.04 and I'm able to use the integrated camera and a DLink DCS942L. The same environment has been deployed on an ARM system (not rpi) and also it is able to stream the DLink camera. the main difficult is to set the environment configuration, the different libraries (and the correct version), dependencies and path. @VincTric is working to optimize the video streaming.

unicornss commented 6 years ago

Thanks @antoniolobefaro
We are revising the install documentation to be easily followed for different OS - MacOS, Ubuntu and in both cases, we want to provide the flexibility to use either build from sources or package managers. There is also a separate document we are working on just for Raspberry PI which will be published soon. If you have any specific notes on ARM installation please let us know.

-SS

himadrii27 commented 2 months ago

Hi, I checked the rtsp url connection and I had problem with that. after I fixed that problem everything is ok. Now my rtsp streaming is on kinesis video stream. Thanks

i also established the rtsp connection but still its not working. Can you lemme know how did you establish your rtsp connection and which os you are using?