Kinesia kvs_gstreamer_sample error: Failed to un-pause curl

0

I followed the tutorial made by Paul Shiner on Youtube for IoT streaming of RTSP to Kinesia.

I am using the command

./kvs_gstreamer_sample camera_inhouse rtsp://<<username>>:<<password>>@192.111.1.96:554/

But I keep getting into the error

[INFO ] [25-05-2023 07:13:57:573.760 GMT] describeStreamResultEvent(): Describe stream result event.
[WARN ] [25-05-2023 07:13:57:573.959 GMT] describeStreamResult(): Retention period returned from the DescribeStream call doesn't match the one specified in the StreamInfo
[WARN ] [25-05-2023 07:13:57:574.030 GMT] describeStreamResult(): Content type returned from the DescribeStream call doesn't match the one specified in the StreamInfo
[INFO ] [25-05-2023 07:13:57:935.076 GMT] writeHeaderCallback(): RequestId: fc8022d8-dff2-46e2-a785-a5b3a60b01db
[DEBUG] [25-05-2023 07:13:57:935.471 GMT] getStreamingEndpointCurlHandler(): GetStreamingEndpoint API response: {"DataEndpoint":"https://s-670061c1.kinesisvideo.ap-southeast-1.amazonaws.com"}
[INFO ] [25-05-2023 07:13:57:937.518 GMT] getStreamingEndpointResultEvent(): Get streaming endpoint result event.
[INFO ] [25-05-2023 07:13:57:937.854 GMT] getStreamingTokenResultEvent(): Get streaming token result event.
[DEBUG] [25-05-2023 07:13:57:938.043 GMT] streamReadyHandler invoked
[DEBUG] [25-05-2023 07:13:57:938.495 GMT] Stream is ready
[INFO ] [25-05-2023 07:13:57:987.614 GMT] Streaming from rtsp source
New pad found: recv_rtp_src_0_885385529_96
[INFO ] [25-05-2023 07:13:58:245.176 GMT] Pad link successful
[INFO ] [25-05-2023 07:13:58:261.137 GMT] kinesisVideoStreamFormatChanged(): Stream format changed.
[INFO ] [25-05-2023 07:13:58:322.515 GMT] putStreamResultEvent(): Put stream result event. New upload handle 0
[WARN ] [25-05-2023 07:13:58:332.777 GMT] notifyDataAvailable(): Failed to un-pause curl with error: 43. Curl object 0xe821e400
[ERROR] [25-05-2023 07:13:59:176.448 GMT] putKinesisVideoEventMetadata(): operation returned status code: 0x5200008c
[ERROR] [25-05-2023 07:13:59:176.640 GMT] Failed to insert event metadata with: 1375731852
Bus error

The stream does run succesfully as I have tested it using VLC.
I've tried some experimentation by editing the streaming format of the RTSP camera (such as changing the frame rate) but to no avail.

As I understand putKinesisVideoEventMetadata() thows the error because it senses that the stream is not running.

I figure the error is due to the notifyDataAvailable() being unable to un-pause the curl command.
But I have no idea what is causing the issue with un-pause and how to resolve it.

No Answers

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions