RTSP integration issue with amazon-kinesis-video-streams-producer-sdk-cpp
I tried to integrate to test gstreamer with (https://github.com/awslabs/amazon-kinesis-video-streams-producer-sdk-cpp) through RTSP from openipc. It's connected but RTSP connection is closed and try to connect again as follow Mejestic log.
It worked fine when I check the RTSP url with VLC player. (ex: rtsp://root:[email protected]/stream=0)
I see below log and it may cause when there is no video stream data sending.
Is there any check point for this issue?
[WARN ] [27-06-2024 09:39:53:357.001 GMT] curlCompleteSync(): [ipcam01] curl perform failed for url https://s-126322f0.kinesisvideo.us-east-1.amazonaws.com/putMedia with result Timeout was reached: Operation too slow. Less than 30 bytes/sec transferred the last 30 seconds
-
Majestic Log majestic[819]: UDP RTSP SETUP done, stream_id=0 from 192.168.1.26:11964 majestic[819]: RTSP connection closed. majestic[819]: RTSP chn 0 sps_len 24 majestic[819]: RTSP chn 0 pps_len 3 majestic[819]: RTSP chn 0 profile_level_id 002a96 majestic[819]: TCP RTSP SETUP done, stream_id=0 from 192.168.1.26:11974 ...
-
amazon-kinesis-video-streams-producer-sdk-cpp Log [INFO ] [27-06-2024 09:39:15:536.169 GMT] getStreamingEndpointResultEvent(): Get streaming endpoint result event. [INFO ] [27-06-2024 09:39:15:536.239 GMT] getStreamingTokenResultEvent(): Get streaming token result event. [DEBUG] [27-06-2024 09:39:15:536.321 GMT] streamReadyHandler invoked [DEBUG] [27-06-2024 09:39:15:536.560 GMT] Stream is ready [INFO ] [27-06-2024 09:39:15:545.597 GMT] Streaming from rtsp source New pad found: recv_rtp_src_0_3858582831_96 [INFO ] [27-06-2024 09:39:22:669.568 GMT] Pad link successful [INFO ] [27-06-2024 09:39:22:671.118 GMT] kinesisVideoStreamFormatChanged(): Stream format changed. [INFO ] [27-06-2024 09:39:22:671.524 GMT] putStreamResultEvent(): Put stream result event. New upload handle 0 [INFO ] [27-06-2024 09:39:23:355.844 GMT] writeHeaderCallback(): RequestId: fa1c9ee3-9b6a-d164-a4eb-ab692807fdc3 [DEBUG] [27-06-2024 09:39:23:976.525 GMT] postReadCallback(): [ipcam01] Pausing CURL read for upload handle: 0 [WARN ] [27-06-2024 09:39:53:357.001 GMT] curlCompleteSync(): [ipcam01] curl perform failed for url https://s-126322f0.kinesisvideo.us-east-1.amazonaws.com/putMedia with result Timeout was reached: Operation too slow. Less than 30 bytes/sec transferred the last 30 seconds [WARN ] [27-06-2024 09:39:53:357.529 GMT] curlCompleteSync(): [ipcam01] HTTP Error 0 : Response: (null) Request URL: https://s-126322f0.kinesisvideo.us-east-1.amazonaws.com/putMedia Request Headers: Authorization: AWS4-HMAC-SHA256 Credential=ASIA5FTY6HKOSEBJYO4I/20240627/us-east-1/kinesisvideo/aws4_request, SignedHeaders=connection;host;transfer-encoding;user-agent;x-amz-date;x-amzn-fragment-acknowledgment-required;x-amzn-fragment-timecode-type;x-amzn-producer-start-timestamp;x-amzn-stream-name, Signature=2d1274b78e63385c0ba0eeb3d67464d52e5f8 [DEBUG] [27-06-2024 09:39:53:357.601 GMT] putStreamCurlHandler(): Network thread for Kinesis Video stream: ipcam01 with upload handle: 0 exited. http status: 0 [WARN ] [27-06-2024 09:39:53:357.788 GMT] putStreamCurlHandler(): [ipcam01] Stream with streamHandle 93869762970240 uploadHandle 0 has exited without triggering end-of-stream. Service call result: 599 [INFO ] [27-06-2024 09:39:53:357.842 GMT] kinesisVideoStreamTerminated(): Stream 0x555fc1e08280 terminated upload handle 0 with service call result 599. [DEBUG] [27-06-2024 09:39:53:357.895 GMT] defaultStreamStateTransitionHook(): Stream state machine retry count: 0 [DEBUG] [27-06-2024 09:39:53:357.945 GMT] defaultStreamStateTransitionHook(): KinesisVideoStream base result is [599]. Executing KVS retry handler of retry strategy type [1] [DEBUG] [27-06-2024 09:39:53:393.718 GMT] defaultStreamStateTransitionHook(): Stream state machine retry count: 1 [DEBUG] [27-06-2024 09:39:53:393.830 GMT] defaultStreamStateTransitionHook(): KinesisVideoStream base result is [599]. Executing KVS retry handler of retry strategy type [1] [DEBUG] [27-06-2024 09:39:53:394.179 GMT] streamReadyHandler invoked [DEBUG] [27-06-2024 09:39:53:394.210 GMT] defaultStreamStateTransitionHook(): Stream state machine retry count: 2 [DEBUG] [27-06-2024 09:39:53:394.222 GMT] defaultStreamStateTransitionHook(): KinesisVideoStream base result is [599]. Executing KVS retry handler of retry strategy type [1]