awslabs/amazon-kinesis-video-streams-producer-c

[QUESTION]Could not resolve host:kinesisvideo.cn-north-1,amazonaws.com

yy-arya opened this issue · 4 comments

Hello, we want to use the KVS service in China. We found a streaming error during debugging. “ https://kinesisvideo.cn-north-1.amazonaws.com/describeStream ”It doesn't seem to be the parameter we passed in? What if we can generate a valid address so that it does not report an error?

This is the parameter we use for debugging:
region_name=cn-north-1
endpointString=cebp2wfi8ssat.credentials.iot.cn-north-1.amazonaws.com.cn
roleAlias=KvsCameraIoTRoleAlias
stream_name=6975d567a34142f2943739b4266d0aeea164635efb2dd09505d7e4d48326dffe

ef9d90af45e9267b236235367ecd62d

** Logging **

iot_send) socket send fd:4 ...
[INFO]: [06/03-09:03:12.223][KVS_APP][kvs_func.c::488]shareMenIndexTmp->vIndex1:0 shareMenIndexTmp->aIndex1:-1 shareMenIndexTmp->aIndex2:0
msg_queue_create() ok  MsgId:65538
[INFO]: [06/03-09:03:12.224][KVS_APP][kvs_func.c::500]kvs process ln:500 time:1678064592
[INFO]: [06/03-09:03:12.236][KVS_APP][kvs_func.c::333][init] kvsmsg_init success !
[INFO]: [06/03-09:03:12.236][KVS_APP][kvs_func.c::510]kvs process ln:510 time:1678064592
[INFO]: [06/03-09:03:12.237][KVS_APP][kvs_func.c::345]kvs process ln:345 time:1678064592
6975d567a34142f2943739b4266d0aeea164635efb2dd09505d7e4d48326dffe
get_audio_type:2
[INFO]: [06/03-09:03:12.273][KVS_APP][kvs_module.c::386]lala track id 1: 1, track id 2 2, track count 2
[INFO]: [06/03-09:03:12.273][KVS_APP][kvs_module.c::391][FM] createDefaultDeviceInfo

[INFO]: [06/03-09:03:12.273][KVS_APP][kvs_module.c::394][FM] setDeviceInfoStorageSize

KvsCameraIoTRoleAlias
6975d567a34142f2943739b4266d0aeea164635efb2dd09505d7e4d48326dffe
cebp2wfi8ssat.credentials.iot.cn-north-1.amazonaws.com.cn
E4AAEC60AE65
cn-north-1
[INFO]: [06/03-09:03:13.646][KVS_APP][kvs_module.c::422][FM] createDefaultCallbacksProviderWithIotCertificate pDeviceInfo->clientInfo.loggerLogLevel:2

[INFO]: [06/03-09:03:13.647][KVS_APP][kvs_module.c::438][FM] ready to  addStreamCallbacks
[INFO]: [06/03-09:03:13.647][KVS_APP][kvs_module.c::446][FM] createKinesisVideoClient

2023-03-06 01:03:13 INFO    heapInitialize(): Initializing native heap with limit size 15728640, spill ratio 0% and flags 0x00000001
2023-03-06 01:03:13 INFO    heapInitialize(): Creating AIV heap.
2023-03-06 01:03:13 INFO    heapInitialize(): Heap is initialized OK
2023-03-06 01:03:13 DEBUG   stepStateMachine(): State Machine - Current state: 0x0000000000000001, Next state: 0x0000000000000002
2023-03-06 01:03:13 DEBUG   stepStateMachine(): State Machine - Current state: 0x0000000000000002, Next state: 0x0000000000000010
2023-03-06 01:03:13 INFO    createDeviceResultEvent(): Create device result event.
2023-03-06 01:03:13 DEBUG   stepStateMachine(): State Machine - Current state: 0x0000000000000010, Next state: 0x0000000000000040
[INFO]: [06/03-09:03:13.705][KVS_APP][kvs_module.c::452][-kvs-]aws kvs isvideo  ---- createKinesisVideoStreamSync ---- init

[INFO]: [06/03-09:03:20.910][KVS_APP][kvs_func.c::169][KVS] FUNC start kvsstart kvsstart kvs
[INFO]: [06/03-09:03:20.910][KVS_APP][kvs_module.c::486][KVS] [CREATE] start
[INFO]: [06/03-09:03:20.910][KVS_APP][kvs_module.c::490][FM] 7681928, 0x738158 0
2023-03-06 01:03:20 INFO    createKinesisVideoStream(): Creating Kinesis Video Stream.
2023-03-06 01:03:20 DEBUG   logStreamInfo(): Kinesis Video Stream Info
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Stream name: 6975d567a34142f2943739b4266d0aeea164635efb2dd09505d7e4d48326dffe
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Streaming type: STREAMING_TYPE_REALTIME
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Content type: video/h264,audio/alaw
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Max latency (100ns): 1020000000
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Fragment duration (100ns): 20000000
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Key frame fragmentation: Yes
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Use frame timecode: Yes
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Absolute frame timecode: Yes
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Nal adaptation flags: 40
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Average bandwith (bps): 2097152
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Framerate: 130
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Buffer duration (100ns): 1200000000
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Replay duration (100ns): 600000000
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Connection Staleness duration (100ns): 50000000
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Store Pressure Policy: 1
2023-03-06 01:03:20 DEBUG   logStreamInfo():    View Overflow Policy: 1
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Segment UUID: NULL
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Frame ordering mode: 5
2023-03-06 01:03:20 DEBUG   logStreamInfo(): Track list
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Track id: 1
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Track name: kvs_video_track
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Codec id: V_MPEG4/ISO/AVC
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Track type: TRACK_INFO_TYPE_VIDEO
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Track cpd: NULL
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Track id: 2
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Track name: kvs_audio_track
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Codec id: A_MS/ACM
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Track type: TRACK_INFO_TYPE_AUDIO
2023-03-06 01:03:20 DEBUG   logStreamInfo():    Track cpd: 06000100401F0000803E0000020010000000
2023-03-06 01:03:20 DEBUG   stepStateMachine(): State Machine - Current state: 0x0000000000000001, Next state: 0x0000000000000002
[INFO]: [06/03-09:03:20.914][KVS_APP][kvs_module.c::495][KVS] [CREATE] finished
[INFO]: [06/03-09:03:20.914][KVS_APP][kvs_module.c::507][KVS] [CREATE] FINISH cost time: [4022]us
* Connected to (35.82.100.120) port 443 (#0)
* ALPN, offering http/1.1
2023-03-06 01:03:21 WARN    curlCompleteSync(): curl perform failed for url https://kinesisvideo.cn-north-1.amazonaws.com/describeStream with result Couldn't resolve host name: Could not resolve host: kinesisvideo.cn-north-1.amazonaws.com
2023-03-06 01:03:21 WARN    curlCompleteSync(): HTTP Error 0 : Response: (null)
Request URL: https://kinesisvideo.cn-north-1.amazonaws.com/describeStream
Request Headers:
    Authorization: AWS4-HMAC-SHA256 Credential=ASIAQJHEP4TPZSI6NW4Q/20230306/cn-north-1/kinesisvideo/aws4_request, SignedHeaders=host;user-agent;x-amz-date, Signature=6cd8445188b402b1aecfe4f723fb67394f4141bd2e7162e15593199e9e5b65d3
    content-length: 85
    content-type: application/json
    host: kinesisvideo.cn-north-1.amazonaws.com
    user-agent: AWS-SDK-KVS/3.0.0 GCC/4.7.2 Linux/3.10.14__isvp_swan_1.0__ mips
    X-Amz-Date: 20230306T010320Z
    x-amz-security-token: FwoDYXdzEIH//////////wEaDGYFTw8nd3iuSwQwMiL6AhZn6v4nzS8OvZkxGPjmbFytcBK+wiCSR+kkqf+hhzvJ7MBfVY/rtLmUrtuKdoo3PscMz5pMW/wACNlwxHO8ONh8CpuRNM22bS//0JXE0u+QTKywmkRPatR05Y7u8k+UP9xbx74tqre8GCf7fcl4O1hD6VsZC0Zd6nLyAv4KrAvfGPRgTWKczDGpl4mcgGTxBHgBfwSbSpkB3gLZ5rA/qT98HXuRdtSWJ+JoWOClvQD704U1Bx1Yn3zaw4emeGEsGgm/wayEXsUem2OmhaoGJpBXOP5asb5RPYBTqp8z5bMCzCcqXBvOlPVrjMQHH8+eDAbwE7eFw3G7Vyfpww5Nru2kQb/FHWVFn2jeTSWfx14/72WaGYWF4j5YOOprShGDtTvCzj2v15s0o3pB7jSOftwzkzmXaZSgSoPWwxgx+GNUfXIjC9FhKqru9RFSS2IDZKiWDyshdls8TgNXIWBf85Y0Yma0843MSAUKWBcOmKU6X9iMLawMqadolSjR95SgBjIqXOQcam6NNz7woYqZC0yGjin4IQ7P+EcnU2FDRIRw4WbwRSHijA+vGtR2
2023-03-06 01:03:21 DEBUG   describeStreamCurlHandler(): DescribeStream API response:
2023-03-06 01:03:21 INFO    describeStreamResultEvent(): Describe stream result event.
ret is 0
* successfully set certificate verify locations:
*   CAfile: /tmp/cacert.pem
  CApath: none
2023-03-06 01:03:21 DEBUG   logStreamMetric(): Kinesis Video client and stream metrics:
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Overall storage byte size: 15728640
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Available storage byte size: 15668347
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Allocated storage byte size: 60293
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Total view allocation byte size: 748880
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Total streams transfer rate (bps): 16777216 (16384 Kbps)
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Current view duration (ms): 0
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Overall view duration (ms): 0
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Current view byte size: 0
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Overall view byte size: 0
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Current transfer rate (bps): 16777216 (16384 Kbps)
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Stream uptime in (ms): 360
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Total transferred bytes: 0
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Total number of streaming sessions: 0
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Total number of active streaming sessions: 0
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Average streaming sessions duration: 0
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Number of Buffered ACKs: 0
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Number of Received ACKs: 0
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Number of Persisted ACKs: 0
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Number of Error ACKs: 0
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Number of dropped frames: 0
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Number of skipped frames: 0
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Number of storage pressure events: 0
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Number of latency pressure events: 0
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Number of buffer pressure events: 0
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Number of stream staleness events: 0
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Number of latency pressure events: 0
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Number of Put Frame errors: 0
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Average Control Plane API latency (ms): 8
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Average Data Plane API latency (ms): 0
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Current elementary frame rate (fps): 130.000000
2023-03-06 01:03:21 DEBUG   logStreamMetric():  Total elementary frame rate (fps): 130.000000
2023-03-06 01:03:21 WARN    curlCompleteSync(): curl perform failed for url https://kinesisvideo.cn-north-1.amazonaws.com/describeStream with result Couldn't resolve host name: Could not resolve host: kinesisvideo.cn-north-1.amazonaws.com
2023-03-06 01:03:21 WARN    curlCompleteSync(): HTTP Error 0 : Response: (null)
Request URL: https://kinesisvideo.cn-north-1.amazonaws.com/describeStream
Request Headers:
    Authorization: AWS4-HMAC-SHA256 Credential=ASIAQJHEP4TPZSI6NW4Q/20230306/cn-north-1/kinesisvideo/aws4_request, SignedHeaders=host;user-agent;x-amz-date, Signature=444c464ecf68cee1fdb38d0d0390ee1599ba04ac5f8bb3ae40dfeb874858a9a5
    content-length: 85
    content-type: application/json
    host: kinesisvideo.cn-north-1.amazonaws.com
    user-agent: AWS-SDK-KVS/3.0.0 GCC/4.7.2 Linux/3.10.14__isvp_swan_1.0__ mips
    X-Amz-Date: 20230306T010321Z
    x-amz-security-token: FwoDYXdzEIH//////////wEaDGYFTw8nd3iuSwQwMiL6AhZn6v4nzS8OvZkxGPjmbFytcBK+wiCSR+kkqf+hhzvJ7MBfVY/rtLmUrtuKdoo3PscMz5pMW/wACNlwxHO8ONh8CpuRNM22bS//0JXE0u+QTKywmkRPatR05Y7u8k+UP9xbx74tqre8GCf7fcl4O1hD6VsZC0Zd6nLyAv4KrAvfGPRgTWKczDGpl4mcgGTxBHgBfwSbSpkB3gLZ5rA/qT98HXuRdtSWJ+JoWOClvQD704U1Bx1Yn3zaw4emeGEsGgm/wayEXsUem2OmhaoGJpBXOP5asb5RPYBTqp8z5bMCzCcqXBvOlPVrjMQHH8+eDAbwE7eFw3G7Vyfpww5Nru2kQb/FHWVFn2jeTSWfx14/72WaGYWF4j5YOOprShGDtTvCzj2v15s0o3pB7jSOftwzkzmXaZSgSoPWwxgx+GNUfXIjC9FhKqru9RFSS2IDZKiWDyshdls8TgNXIWBf85Y0Yma0843MSAUKWBcOmKU6X9iMLawMqadolSjR95SgBjIqXOQcam6NNz7woYqZC0yGjin4IQ7P+EcnU2FDRIRw4WbwRSHijA+vGtR2
2023-03-06 01:03:21 DEBUG   describeStreamCurlHandler(): DescribeStream API response:
2023-03-06 01:03:21 INFO    describeStreamResultEvent(): Describe stream result event.
* SSL connection using TLSv1.2 / ECDHE-RSA-AES128-GCM-SHA256
* ALPN, server accepted to use http/1.1
* Server certificate:
*  subje
*  start date: Feb 27 07:10:50 2023 GMT
*  expire date: Feb 27 07:10:49 2024 GMT
*  subjectAltNa
*  issuer: C=CN; O=Beijing Xinchacha Credit Management Co., Ltd.; CN=Xcc Trust DV SSL CA
*  SSL certificate verify ok.
> POST /device/v2/alarm/add HTTP/1.1
Host:

* upload completely sent off: 546 out of 546 bytes
* Mark bundle as not supporting multiuse
< HTTP/1.1 200 OK
< Date: Mon, 06 Mar 2023 01:03:22 GMT
< Content-Type: application/json; charset=utf-8
< Content-Length: 662
< Connection: keep-alive
< Server: Kestrel
<
2023-03-06 01:03:22 DEBUG   logStreamMetric(): Kinesis Video client and stream metrics:
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Overall storage byte size: 15728640
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Available storage byte size: 15510428
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Allocated storage byte size: 218212
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Total view allocation byte size: 748880
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Total streams transfer rate (bps): 16777216 (16384 Kbps)
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Current view duration (ms): 970
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Overall view duration (ms): 970
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Current view byte size: 189770
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Overall view byte size: 189770
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Current transfer rate (bps): 16777216 (16384 Kbps)
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Stream uptime in (ms): 1194
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Total transferred bytes: 0
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Total number of streaming sessions: 0
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Total number of active streaming sessions: 0
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Average streaming sessions duration: 0
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Number of Buffered ACKs: 0
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Number of Received ACKs: 0
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Number of Persisted ACKs: 0
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Number of Error ACKs: 0
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Number of dropped frames: 0
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Number of skipped frames: 0
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Number of storage pressure events: 0
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Number of latency pressure events: 0
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Number of buffer pressure events: 0
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Number of stream staleness events: 0
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Number of latency pressure events: 0
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Number of Put Frame errors: 0
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Average Control Plane API latency (ms): 27
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Average Data Plane API latency (ms): 0
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Current elementary frame rate (fps): 21.442203
2023-03-06 01:03:22 DEBUG   logStreamMetric():  Total elementary frame rate (fps): 21.442203
2023-03-06 01:03:22 WARN    curlCompleteSync(): curl perform failed for url https://kinesisvideo.cn-north-1.amazonaws.com/describeStream with result Couldn't resolve host name: Could not resolve host: kinesisvideo.cn-north-1.amazonaws.com
2023-03-06 01:03:22 WARN    curlCompleteSync(): HTTP Error 0 : Response: (null)
Request URL: https://kinesisvideo.cn-north-1.amazonaws.com/describeStream
Request Headers:
    Authorization: AWS4-HMAC-SHA256 Credential=ASIAQJHEP4TPZSI6NW4Q/20230306/cn-north-1/kinesisvideo/aws4_request, SignedHeaders=host;user-agent;x-amz-date, Signature=444c464ecf68cee1fdb38d0d0390ee1599ba04ac5f8bb3ae40dfeb874858a9a5
    content-length: 85
    content-type: application/json
    host: kinesisvideo.cn-north-1.amazonaws.com
    user-agent: AWS-SDK-KVS/3.0.0 GCC/4.7.2 Linux/3.10.14__isvp_swan_1.0__ mips
    X-Amz-Date: 20230306T010321Z
    x-amz-security-token: FwoDYXdzEIH//////////wEaDGYFTw8nd3iuSwQwMiL6AhZn6v4nzS8OvZkxGPjmbFytcBK+wiCSR+kkqf+hhzvJ7MBfVY/rtLmUrtuKdoo3PscMz5pMW/wACNlwxHO8ONh8CpuRNM22bS//0JXE0u+QTKywmkRPatR05Y7u8k+UP9xbx74tqre8GCf7fcl4O1hD6VsZC0Zd6nLyAv4KrAvfGPRgTWKczDGpl4mcgGTxBHgBfwSbSpkB3gLZ5rA/qT98HXuRdtSWJ+JoWOClvQD704U1Bx1Yn3zaw4emeGEsGgm/wayEXsUem2OmhaoGJpBXOP5asb5RPYBTqp8z5bMCzCcqXBvOlPVrjMQHH8+eDAbwE7eFw3G7Vyfpww5Nru2kQb/FHWVFn2jeTSWfx14/72WaGYWF4j5YOOprShGDtTvCzj2v15s0o3pB7jSOftwzkzmXaZSgSoPWwxgx+GNUfXIjC9FhKqru9RFSS2IDZKiWDyshdls8TgNXIWBf85Y0Yma0843MSAUKWBcOmKU6X9iMLawMqadolSjR95SgBjIqXOQcam6NNz7woYqZC0yGjin4IQ7P+EcnU2FDRIRw4WbwRSHijA+vGtR2
2023-03-06 01:03:22 DEBUG   describeStreamCurlHandler(): DescribeStream API response:
2023-03-06 01:03:22 INFO    describeStreamResultEvent(): Describe stream result event.
2023-03-06 01:03:23 DEBUG   logStreamMetric(): Kinesis Video client and stream metrics:
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Overall storage byte size: 15728640
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Available storage byte size: 15395451
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Allocated storage byte size: 333189
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Total view allocation byte size: 748880
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Total streams transfer rate (bps): 16777216 (16384 Kbps)
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Current view duration (ms): 1970
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Overall view duration (ms): 1970
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Current view byte size: 280794
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Overall view byte size: 280794
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Current transfer rate (bps): 16777216 (16384 Kbps)
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Stream uptime in (ms): 2093
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Total transferred bytes: 0
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Total number of streaming sessions: 0
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Total number of active streaming sessions: 0
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Average streaming sessions duration: 0
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Number of Buffered ACKs: 0
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Number of Received ACKs: 0
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Number of Persisted ACKs: 0
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Number of Error ACKs: 0
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Number of dropped frames: 0
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Number of skipped frames: 0
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Number of storage pressure events: 0
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Number of latency pressure events: 0
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Number of buffer pressure events: 0
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Number of stream staleness events: 0
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Number of latency pressure events: 0
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Number of Put Frame errors: 0
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Average Control Plane API latency (ms): 44
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Average Data Plane API latency (ms): 0
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Current elementary frame rate (fps): 18.981095
2023-03-06 01:03:23 DEBUG   logStreamMetric():  Total elementary frame rate (fps): 18.981095
2023-03-06 01:03:23 WARN    curlCompleteSync(): curl perform failed for url https://kinesisvideo.cn-north-1.amazonaws.com/describeStream with result Couldn't resolve host name: Could not resolve host: kinesisvideo.cn-north-1.amazonaws.com
2023-03-06 01:03:23 WARN    curlCompleteSync(): HTTP Error 0 : Response: (null)
Request URL: https://kinesisvideo.cn-north-1.amazonaws.com/describeStream
Request Headers:
    Authorization: AWS4-HMAC-SHA256 Credential=ASIAQJHEP4TPZSI6NW4Q/20230306/cn-north-1/kinesisvideo/aws4_request, SignedHeaders=host;user-agent;x-amz-date, Signature=f2fab4e91179a663d05a9d47445421f8d74234c71811785033e8a43e85e82c18
    content-length: 85
    content-type: application/json
    host: kinesisvideo.cn-north-1.amazonaws.com
    user-agent: AWS-SDK-KVS/3.0.0 GCC/4.7.2 Linux/3.10.14__isvp_swan_1.0__ mips
    X-Amz-Date: 20230306T010322Z
    x-amz-security-token: FwoDYXdzEIH//////////wEaDGYFTw8nd3iuSwQwMiL6AhZn6v4nzS8OvZkxGPjmbFytcBK+wiCSR+kkqf+hhzvJ7MBfVY/rtLmUrtuKdoo3PscMz5pMW/wACNlwxHO8ONh8CpuRNM22bS//0JXE0u+QTKywmkRPatR05Y7u8k+UP9xbx74tqre8GCf7fcl4O1hD6VsZC0Zd6nLyAv4KrAvfGPRgTWKczDGpl4mcgGTxBHgBfwSbSpkB3gLZ5rA/qT98HXuRdtSWJ+JoWOClvQD704U1Bx1Yn3zaw4emeGEsGgm/wayEXsUem2OmhaoGJpBXOP5asb5RPYBTqp8z5bMCzCcqXBvOlPVrjMQHH8+eDAbwE7eFw3G7Vyfpww5Nru2kQb/FHWVFn2jeTSWfx14/72WaGYWF4j5YOOprShGDtTvCzj2v15s0o3pB7jSOftwzkzmXaZSgSoPWwxgx+GNUfXIjC9FhKqru9RFSS2IDZKiWDyshdls8TgNXIWBf85Y0Yma0843MSAUKWBcOmKU6X9iMLawMqadolSjR95SgBjIqXOQcam6NNz7woYqZC0yGjin4IQ7P+EcnU2FDRIRw4WbwRSHijA+vGtR2
2023-03-06 01:03:23 DEBUG   describeStreamCurlHandler(): DescribeStream API response:
2023-03-06 01:03:23 INFO    describeStreamResultEvent(): Describe stream result event.
2023-03-06 01:03:24 DEBUG   logStreamMetric(): Kinesis Video client and stream metrics:
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Overall storage byte size: 15728640
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Available storage byte size: 15220899
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Allocated storage byte size: 507741
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Total view allocation byte size: 748880
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Total streams transfer rate (bps): 16777216 (16384 Kbps)
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Current view duration (ms): 2971
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Overall view duration (ms): 2971
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Current view byte size: 472834
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Overall view byte size: 472834
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Current transfer rate (bps): 16777216 (16384 Kbps)
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Stream uptime in (ms): 3099
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Total transferred bytes: 0
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Total number of streaming sessions: 0
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Total number of active streaming sessions: 0
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Average streaming sessions duration: 0
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Number of Buffered ACKs: 0
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Number of Received ACKs: 0
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Number of Persisted ACKs: 0
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Number of Error ACKs: 0
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Number of dropped frames: 0
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Number of skipped frames: 0
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Number of storage pressure events: 0
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Number of latency pressure events: 0
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Number of buffer pressure events: 0
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Number of stream staleness events: 0
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Number of latency pressure events: 0
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Number of Put Frame errors: 0
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Average Control Plane API latency (ms): 44
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Average Data Plane API latency (ms): 0
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Current elementary frame rate (fps): 19.547285
2023-03-06 01:03:24 DEBUG   logStreamMetric():  Total elementary frame rate (fps): 19.547285
2023-03-06 01:03:24 WARN    curlCompleteSync(): curl perform failed for url https://kinesisvideo.cn-north-1.amazonaws.com/describeStream with result Couldn't resolve host name: Could not resolve host: kinesisvideo.cn-north-1.amazonaws.com
2023-03-06 01:03:24 WARN    curlCompleteSync(): HTTP Error 0 : Response: (null)
Request URL: https://kinesisvideo.cn-north-1.amazonaws.com/describeStream
Request Headers:
    Authorization: AWS4-HMAC-SHA256 Credential=ASIAQJHEP4TPZSI6NW4Q/20230306/cn-north-1/kinesisvideo/aws4_request, SignedHeaders=host;user-agent;x-amz-date, Signature=beaa2e3fde7f5130d8c27788e3c28128f65570ffc1b25daa0576f5b2bf7767b7
    content-length: 85
    content-type: application/json
    host: kinesisvideo.cn-north-1.amazonaws.com
    user-agent: AWS-SDK-KVS/3.0.0 GCC/4.7.2 Linux/3.10.14__isvp_swan_1.0__ mips
    X-Amz-Date: 20230306T010323Z
    x-amz-security-token: FwoDYXdzEIH//////////wEaDGYFTw8nd3iuSwQwMiL6AhZn6v4nzS8OvZkxGPjmbFytcBK+wiCSR+kkqf+hhzvJ7MBfVY/rtLmUrtuKdoo3PscMz5pMW/wACNlwxHO8ONh8CpuRNM22bS//0JXE0u+QTKywmkRPatR05Y7u8k+UP9xbx74tqre8GCf7fcl4O1hD6VsZC0Zd6nLyAv4KrAvfGPRgTWKczDGpl4mcgGTxBHgBfwSbSpkB3gLZ5rA/qT98HXuRdtSWJ+JoWOClvQD704U1Bx1Yn3zaw4emeGEsGgm/wayEXsUem2OmhaoGJpBXOP5asb5RPYBTqp8z5bMCzCcqXBvOlPVrjMQHH8+eDAbwE7eFw3G7Vyfpww5Nru2kQb/FHWVFn2jeTSWfx14/72WaGYWF4j5YOOprShGDtTvCzj2v15s0o3pB7jSOftwzkzmXaZSgSoPWwxgx+GNUfXIjC9FhKqru9RFSS2IDZKiWDyshdls8TgNXIWBf85Y0Yma0843MSAUKWBcOmKU6X9iMLawMqadolSjR95SgBjIqXOQcam6NNz7woYqZC0yGjin4IQ7P+EcnU2FDRIRw4WbwRSHijA+vGtR2
2023-03-06 01:03:24 DEBUG   describeStreamCurlHandler(): DescribeStream API response:
2023-03-06 01:03:24 INFO    describeStreamResultEvent(): Describe stream result event.
2023-03-06 01:03:25 DEBUG   logStreamMetric(): Kinesis Video client and stream metrics:
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Overall storage byte size: 15728640
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Available storage byte size: 15142338
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Allocated storage byte size: 586302
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Total view allocation byte size: 748880
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Total streams transfer rate (bps): 16777216 (16384 Kbps)
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Current view duration (ms): 3973
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Overall view duration (ms): 3973
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Current view byte size: 548824
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Overall view byte size: 548824
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Current transfer rate (bps): 16777216 (16384 Kbps)
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Stream uptime in (ms): 4096
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Total transferred bytes: 0
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Total number of streaming sessions: 0
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Total number of active streaming sessions: 0
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Average streaming sessions duration: 0
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Number of Buffered ACKs: 0
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Number of Received ACKs: 0
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Number of Persisted ACKs: 0
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Number of Error ACKs: 0
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Number of dropped frames: 0
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Number of skipped frames: 0
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Number of storage pressure events: 0
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Number of latency pressure events: 0
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Number of buffer pressure events: 0
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Number of stream staleness events: 0
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Number of latency pressure events: 0
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Number of Put Frame errors: 0
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Average Control Plane API latency (ms): 43
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Average Data Plane API latency (ms): 0
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Current elementary frame rate (fps): 18.737820
2023-03-06 01:03:25 DEBUG   logStreamMetric():  Total elementary frame rate (fps): 18.737820
2023-03-06 01:03:26 DEBUG   logStreamMetric(): Kinesis Video client and stream metrics:
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Overall storage byte size: 15728640
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Available storage byte size: 15074196
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Allocated storage byte size: 654444
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Total view allocation byte size: 748880
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Total streams transfer rate (bps): 16777216 (16384 Kbps)
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Current view duration (ms): 4974
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Overall view duration (ms): 4974
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Current view byte size: 610903
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Overall view byte size: 610903
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Current transfer rate (bps): 16777216 (16384 Kbps)
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Stream uptime in (ms): 5091
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Total transferred bytes: 0
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Total number of streaming sessions: 0
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Total number of active streaming sessions: 0
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Average streaming sessions duration: 0
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Number of Buffered ACKs: 0
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Number of Received ACKs: 0
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Number of Persisted ACKs: 0
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Number of Error ACKs: 0
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Number of dropped frames: 0
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Number of skipped frames: 0
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Number of storage pressure events: 0
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Number of latency pressure events: 0
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Number of buffer pressure events: 0
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Number of stream staleness events: 0
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Number of latency pressure events: 0
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Number of Put Frame errors: 0
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Average Control Plane API latency (ms): 43
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Average Data Plane API latency (ms): 0
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Current elementary frame rate (fps): 20.382789
2023-03-06 01:03:26 DEBUG   logStreamMetric():  Total elementary frame rate (fps): 20.382789
[INFO]: [06/03-09:03:26.970][KVS_APP][kvs_module.c::656][KVS] putFrame video success
2023-03-06 01:03:27 DEBUG   logStreamMetric(): Kinesis Video client and stream metrics:
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Overall storage byte size: 15728640
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Available storage byte size: 14858777
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Allocated storage byte size: 869863
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Total view allocation byte size: 748880
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Total streams transfer rate (bps): 16777216 (16384 Kbps)
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Current view duration (ms): 5974
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Overall view duration (ms): 5974
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Current view byte size: 831884
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Overall view byte size: 831884
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Current transfer rate (bps): 16777216 (16384 Kbps)
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Stream uptime in (ms): 6102
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Total transferred bytes: 0
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Total number of streaming sessions: 0
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Total number of active streaming sessions: 0
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Average streaming sessions duration: 0
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Number of Buffered ACKs: 0
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Number of Received ACKs: 0
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Number of Persisted ACKs: 0
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Number of Error ACKs: 0
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Number of dropped frames: 0
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Number of skipped frames: 0
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Number of storage pressure events: 0
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Number of latency pressure events: 0
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Number of buffer pressure events: 0
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Number of stream staleness events: 0
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Number of latency pressure events: 0
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Number of Put Frame errors: 0
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Average Control Plane API latency (ms): 43
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Average Data Plane API latency (ms): 0
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Current elementary frame rate (fps): 19.773006
2023-03-06 01:03:27 DEBUG   logStreamMetric():  Total elementary frame rate (fps): 19.773006
2023-03-06 01:03:28 DEBUG   logStreamMetric(): Kinesis Video client and stream metrics:
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Overall storage byte size: 15728640
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Available storage byte size: 14741615
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Allocated storage byte size: 987025
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Total view allocation byte size: 748880
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Total streams transfer rate (bps): 16777216 (16384 Kbps)
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Current view duration (ms): 6975
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Overall view duration (ms): 6975
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Current view byte size: 952064
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Overall view byte size: 952064
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Current transfer rate (bps): 16777216 (16384 Kbps)
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Stream uptime in (ms): 7090
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Total transferred bytes: 0
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Total number of streaming sessions: 0
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Total number of active streaming sessions: 0
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Average streaming sessions duration: 0
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Number of Buffered ACKs: 0
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Number of Received ACKs: 0
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Number of Persisted ACKs: 0
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Number of Error ACKs: 0
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Number of dropped frames: 0
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Number of skipped frames: 0
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Number of storage pressure events: 0
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Number of latency pressure events: 0
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Number of buffer pressure events: 0
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Number of stream staleness events: 0
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Number of latency pressure events: 0
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Number of Put Frame errors: 0
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Average Control Plane API latency (ms): 43
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Average Data Plane API latency (ms): 0
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Current elementary frame rate (fps): 18.962738
2023-03-06 01:03:28 DEBUG   logStreamMetric():  Total elementary frame rate (fps): 18.962738
2023-03-06 01:03:28 WARN    curlCompleteSync(): curl perform failed for url https://kinesisvideo.cn-north-1.amazonaws.com/describeStream with result Couldn't resolve host name: Could not resolve host: kinesisvideo.cn-north-1.amazonaws.com
2023-03-06 01:03:28 WARN    curlCompleteSync(): HTTP Error 0 : Response: (null)
Request URL: https://kinesisvideo.cn-north-1.amazonaws.com/describeStream
Request Headers:
    Authorization: AWS4-HMAC-SHA256 Credential=ASIAQJHEP4TPZSI6NW4Q/20230306/cn-north-1/kinesisvideo/aws4_request, SignedHeaders=host;user-agent;x-amz-date, Signature=d2f79fe9da50191d40365c319a11ceb07309b40c955104f02a896f5593852aac
    content-length: 85
    content-type: application/json
    host: kinesisvideo.cn-north-1.amazonaws.com
    user-agent: AWS-SDK-KVS/3.0.0 GCC/4.7.2 Linux/3.10.14__isvp_swan_1.0__ mips
    X-Amz-Date: 20230306T010324Z
    x-amz-security-token: FwoDYXdzEIH//////////wEaDGYFTw8nd3iuSwQwMiL6AhZn6v4nzS8OvZkxGPjmbFytcBK+wiCSR+kkqf+hhzvJ7MBfVY/rtLmUrtuKdoo3PscMz5pMW/wACNlwxHO8ONh8CpuRNM22bS//0JXE0u+QTKywmkRPatR05Y7u8k+UP9xbx74tqre8GCf7fcl4O1hD6VsZC0Zd6nLyAv4KrAvfGPRgTWKczDGpl4mcgGTxBHgBfwSbSpkB3gLZ5rA/qT98HXuRdtSWJ+JoWOClvQD704U1Bx1Yn3zaw4emeGEsGgm/wayEXsUem2OmhaoGJpBXOP5asb5RPYBTqp8z5bMCzCcqXBvOlPVrjMQHH8+eDAbwE7eFw3G7Vyfpww5Nru2kQb/FHWVFn2jeTSWfx14/72WaGYWF4j5YOOprShGDtTvCzj2v15s0o3pB7jSOftwzkzmXaZSgSoPWwxgx+GNUfXIjC9FhKqru9RFSS2IDZKiWDyshdls8TgNXIWBf85Y0Yma0843MSAUKWBcOmKU6X9iMLawMqadolSjR95SgBjIqXOQcam6NNz7woYqZC0yGjin4IQ7P+EcnU2FDRIRw4WbwRSHijA+vGtR2
2023-03-06 01:03:28 DEBUG   describeStreamCurlHandler(): DescribeStream API response:
2023-03-06 01:03:28 INFO    describeStreamResultEvent(): Describe stream result event.
2023-03-06 01:03:28 ERROR   describeStreamResultEvent(): operation returned status code: 0x52000011
2023-03-06 01:03:28 WARN    continuousRetryStreamErrorReportHandler(): Reporting stream error. Errored timecode: 0 Status: 0x52000011
[ERROR]: [06/03-09:03:28.222][KVS_APP][kvs_module.c::208]Reported streamError callback for stream handle 7708816. Upload handle 18446744073709551615. Fragment timecode in 100ns: 0. Error status: 0x52000011

** Any design considerations/constraints **
SDK version:1.2.0
platform: mips

** If you would not like to open an issue to discuss your solution in open-platform, please email your question to kinesis-video-support@amazon.com **

We found need change the value of CONTROL_PLANE_URI_POSTFIX to ".amazonaws.com.cn", but it need rebuild library. This parameter could be used as an input parameter to facilitate compatibility in different regions.

When you call createDefaultCallbacksProvider did you provide it with a control plane url? If you do then it will not append the ".cn" for you. You only need to set the region to "cn-north-1" it should automatically set the correct value for the control plane uri, you can pass in null or empty string for control plane url.

@hassanctech , Okay, I need to update version, thank you for your reply.

@hassanctech , Okay, I need to update version, thank you for your reply.