[QUESTION] Audio discontinuity while playing back HLS only in LIVE mode and only for iOS devices.
sam-vasiutin opened this issue · 2 comments
As the title says, when I am trying to playback audio-video stream on iOS devices (iPhones/iPads, simulators both from in-app AVPlayer and online players in browsers) the audio discontinues only in LIVE.
But, if I try playing back LIVE in bunch of other players on macOS or Windows as well as online players it works well, the audio is straight and permanent.
The video I get using ON_DEMAND mode using HLS url is also fine for all the devices and platforms, so the issue is only with iOS live. I am attaching LIVE playback logs in Logging.
Logging:
Producer logs. Streaming from iPhone 12 (Works the same for other models). iOS 15/16:
2023-03-15 20:28:59 INFO heapInitialize(): Initializing native heap with limit size 20971520, spill ratio 0% and flags 0x00000001
2023-03-15 20:28:59 INFO heapInitialize(): Creating AIV heap.
2023-03-15 20:28:59 INFO heapInitialize(): Heap is initialized OK
2023-03-15 20:28:59 INFO createDeviceResultEvent(): Create device result event.
2023-03-15 20:28:59 INFO createKinesisVideoStream(): Creating Kinesis Video Stream.
2023-03-15 20:28:59 INFO logStreamInfo(): SDK version:
2023-03-15 20:28:59 DEBUG logStreamInfo(): Kinesis Video Stream Info
2023-03-15 20:28:59 DEBUG logStreamInfo(): Stream name: stage-474
2023-03-15 20:28:59 DEBUG logStreamInfo(): Streaming type: STREAMING_TYPE_REALTIME
2023-03-15 20:28:59 DEBUG logStreamInfo(): Content type: video/h265,audio/aac
2023-03-15 20:28:59 DEBUG logStreamInfo(): Max latency (100ns): 1020000000
2023-03-15 20:28:59 DEBUG logStreamInfo(): Fragment duration (100ns): 20000000
2023-03-15 20:28:59 DEBUG logStreamInfo(): Key frame fragmentation: Yes
2023-03-15 20:28:59 DEBUG logStreamInfo(): Use frame timecode: Yes
2023-03-15 20:28:59 DEBUG logStreamInfo(): Absolute frame timecode: Yes
2023-03-15 20:28:59 DEBUG logStreamInfo(): Nal adaptation flags: 40
2023-03-15 20:28:59 DEBUG logStreamInfo(): Average bandwith (bps): 2097152
2023-03-15 20:28:59 DEBUG logStreamInfo(): Framerate: 120
2023-03-15 20:28:59 DEBUG logStreamInfo(): Buffer duration (100ns): 1200000000
2023-03-15 20:28:59 DEBUG logStreamInfo(): Replay duration (100ns): 600000000
2023-03-15 20:28:59 DEBUG logStreamInfo(): Connection Staleness duration (100ns): 50000000
2023-03-15 20:28:59 DEBUG logStreamInfo(): Store Pressure Policy: 1
2023-03-15 20:28:59 DEBUG logStreamInfo(): View Overflow Policy: 1
2023-03-15 20:28:59 DEBUG logStreamInfo(): Segment UUID: NULL
2023-03-15 20:28:59 DEBUG logStreamInfo(): Frame ordering mode: 5
2023-03-15 20:28:59 DEBUG logStreamInfo(): Track list
2023-03-15 20:28:59 DEBUG logStreamInfo(): Track id: 1
2023-03-15 20:28:59 DEBUG logStreamInfo(): Track name: kvs_video_track
2023-03-15 20:28:59 DEBUG logStreamInfo(): Codec id: V_MPEGH/ISO/HEVC
2023-03-15 20:28:59 DEBUG logStreamInfo(): Track type: TRACK_INFO_TYPE_VIDEO
2023-03-15 20:28:59 DEBUG logStreamInfo(): Track cpd: NULL
2023-03-15 20:28:59 DEBUG logStreamInfo(): Track id: 2
2023-03-15 20:28:59 DEBUG logStreamInfo(): Track name: kvs_audio_track
2023-03-15 20:28:59 DEBUG logStreamInfo(): Codec id: A_AAC
2023-03-15 20:28:59 DEBUG logStreamInfo(): Track type: TRACK_INFO_TYPE_AUDIO
2023-03-15 20:28:59 DEBUG logStreamInfo(): Track cpd: 1208
Successfully published message with ["pauseDurationKey": "30.0", "type": "streamDataStarted", "streamId": "474"]
2023-03-15 20:28:59 INFO writeHeaderCallback(): RequestId: ---
2023-03-15 20:28:59 WARN curlCompleteSync(): HTTP Error 404 : Response: {"Message":"The requested stream is not found or not active."}
Request URL: https://kinesisvideo.eu-central-1.amazonaws.com/describeStream
Request Headers:
Authorization: AWS4-HMAC-SHA256 Credential=---/eu-central-1/kinesisvideo/aws4_request, SignedHeaders=host;user-agent;x-amz-date, Signature=---
content-length: 30
content-type: application/json
host: kinesisvideo.eu-central-1.amazonaws.com
user-agent: AWS-SDK-KVS/3.0.0 Clang/14.0.0 Darwin/22.0.0 iPhone13,2
X-Amz-Date: 20230315T202859Z
2023-03-15 20:28:59 DEBUG describeStreamCurlHandler(): DescribeStream API response: {"Message":"The requested stream is not found or not active."}
2023-03-15 20:28:59 INFO describeStreamResultEvent(): Describe stream result event.
2023-03-15 20:28:59 DEBUG defaultStreamStateTransitionHook(): Stream state machine retry count: 0
2023-03-15 20:28:59 DEBUG defaultStreamStateTransitionHook():
KinesisVideoStream base result is [404]. Executing KVS retry handler of retry strategy type [1]
2023-03-15 20:28:59 DEBUG createStreamCurlHandler(): createStreamCurlHandler response 0x105296200
2023-03-15 20:28:59 INFO writeHeaderCallback(): RequestId: e025f2ce-ac78-4ff5-979c-a9e5c5f85027
2023-03-15 20:28:59 DEBUG createStreamCurlHandler(): CreateStream API response: {"StreamARN":"arn:aws:kinesisvideo:eu-central-1:144250528670:stream/stage-474/1678912139900"}
2023-03-15 20:28:59 INFO createStreamResultEvent(): Create stream result event.
2023-03-15 20:29:00 INFO writeHeaderCallback(): RequestId: f30e854c-290b-411b-a5d7-f57d7805aafa
2023-03-15 20:29:00 DEBUG getStreamingEndpointCurlHandler(): GetStreamingEndpoint API response: {"DataEndpoint":"https://s-96607c7a.kinesisvideo.eu-central-1.amazonaws.com"}
2023-03-15 20:29:00 INFO getStreamingEndpointResultEvent(): Get streaming endpoint result event.
2023-03-15 20:29:00 INFO getStreamingTokenResultEvent(): Get streaming token result event.
2023-03-15 20:29:00 INFO putStreamResultEvent(): Put stream result event. New upload handle 0
2023-03-15 20:29:00 WARN notifyDataAvailable(): Failed to un-pause curl with error: 43. Curl object 0x10581aa00
2023-03-15 20:29:00 DEBUG logStreamMetric(): Kinesis Video client and stream metrics:
2023-03-15 20:29:00 DEBUG logStreamMetric(): Overall storage byte size: 20971520
2023-03-15 20:29:00 DEBUG logStreamMetric(): Available storage byte size: 20944845
2023-03-15 20:29:00 DEBUG logStreamMetric(): Allocated storage byte size: 26675
2023-03-15 20:29:00 DEBUG logStreamMetric(): Total view allocation byte size: 691280
2023-03-15 20:29:00 DEBUG logStreamMetric(): Total streams transfer rate (bps): 16777216 (16384 Kbps)
2023-03-15 20:29:00 DEBUG logStreamMetric(): Current view duration (ms): 0
2023-03-15 20:29:00 DEBUG logStreamMetric(): Overall view duration (ms): 0
2023-03-15 20:29:00 DEBUG logStreamMetric(): Current view byte size: 0
2023-03-15 20:29:00 DEBUG logStreamMetric(): Overall view byte size: 0
2023-03-15 20:29:00 DEBUG logStreamMetric(): Current transfer rate (bps): 16777216 (16384 Kbps)
2023-03-15 20:29:00 DEBUG logStreamMetric(): Stream uptime in (ms): 1384
2023-03-15 20:29:00 DEBUG logStreamMetric(): Total transferred bytes: 0
2023-03-15 20:29:00 DEBUG logStreamMetric(): Total number of streaming sessions: 1
2023-03-15 20:29:00 DEBUG logStreamMetric(): Total number of active streaming sessions: 0
2023-03-15 20:29:00 DEBUG logStreamMetric(): Average streaming sessions duration: 0
2023-03-15 20:29:00 DEBUG logStreamMetric(): Number of Buffered ACKs: 0
2023-03-15 20:29:00 DEBUG logStreamMetric(): Number of Received ACKs: 0
2023-03-15 20:29:00 DEBUG logStreamMetric(): Number of Persisted ACKs: 0
2023-03-15 20:29:00 DEBUG logStreamMetric(): Number of Error ACKs: 0
2023-03-15 20:29:00 DEBUG logStreamMetric(): Number of dropped frames: 0
2023-03-15 20:29:00 DEBUG logStreamMetric(): Number of skipped frames: 0
2023-03-15 20:29:00 DEBUG logStreamMetric(): Number of storage pressure events: 0
2023-03-15 20:29:00 DEBUG logStreamMetric(): Number of latency pressure events: 0
2023-03-15 20:29:00 DEBUG logStreamMetric(): Number of buffer pressure events: 0
2023-03-15 20:29:00 DEBUG logStreamMetric(): Number of stream staleness events: 0
2023-03-15 20:29:00 DEBUG logStreamMetric(): Number of latency pressure events: 0
2023-03-15 20:29:00 DEBUG logStreamMetric(): Number of Put Frame errors: 0
2023-03-15 20:29:00 DEBUG logStreamMetric(): Average Control Plane API latency (ms): 30
2023-03-15 20:29:00 DEBUG logStreamMetric(): Average Data Plane API latency (ms): 0
2023-03-15 20:29:00 DEBUG logStreamMetric(): Current elementary frame rate (fps): 120.000000
2023-03-15 20:29:00 DEBUG logStreamMetric(): API Call Retry Count : 0
2023-03-15 20:29:00 DEBUG logStreamMetric(): Total elementary frame rate (fps): 120.000000
2023-03-15 20:29:00 DEBUG logStreamMetric(): Average API call retry count for client: 0.000000
2023-03-15 20:29:00 DEBUG postReadCallback(): Wrote 59572 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:00 INFO writeHeaderCallback(): RequestId: c88260d9-521a-b53f-940e-4c15d08e1c2a
2023-03-15 20:29:00 DEBUG postReadCallback(): Wrote 2463 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:00 DEBUG postReadCallback(): Wrote 2656 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:00 DEBUG postReadCallback(): Wrote 2558 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:00 DEBUG postReadCallback(): Wrote 11930 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:00 DEBUG postWriteCallback(): Curl post body write function for stream with handle: stage-474 and upload handle: 0 returned: {"EventType":"BUFFERING","FragmentTimecode":1678912140552,"FragmentNumber":"91343852333181432392682062652588755985072766121"}
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 8488 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 10153 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 11074 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 11297 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 10787 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 10805 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 20310 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 10315 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 9581 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 9184 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 9279 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 8452 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 15298 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 12120 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 205 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 4543 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 4050 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 4266 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 9079 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 11083 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 6535 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 6496 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 5909 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 6439 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:01 DEBUG postReadCallback(): Wrote 11782 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:02 DEBUG postReadCallback(): Wrote 11407 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:02 DEBUG postReadCallback(): Wrote 13091 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:02 DEBUG postReadCallback(): Wrote 14482 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:02 DEBUG postReadCallback(): Wrote 14007 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:02 DEBUG postReadCallback(): Wrote 11014 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:02 DEBUG postReadCallback(): Wrote 4344 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:02 DEBUG postReadCallback(): Wrote 3866 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:02 DEBUG postReadCallback(): Wrote 2668 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:02 DEBUG postReadCallback(): Wrote 8015 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:02 DEBUG postReadCallback(): Wrote 6898 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:02 DEBUG logStreamMetric(): Kinesis Video client and stream metrics:
2023-03-15 20:29:02 DEBUG logStreamMetric(): Overall storage byte size: 20971520
2023-03-15 20:29:02 DEBUG logStreamMetric(): Available storage byte size: 20540447
2023-03-15 20:29:02 DEBUG postReadCallback(): Wrote 196 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:02 DEBUG logStreamMetric(): Allocated storage byte size: 431073
2023-03-15 20:29:02 DEBUG logStreamMetric(): Total view allocation byte size: 691280
2023-03-15 20:29:02 DEBUG logStreamMetric(): Total streams transfer rate (bps): 11607160 (11335 Kbps)
2023-03-15 20:29:02 DEBUG logStreamMetric(): Current view duration (ms): 23
2023-03-15 20:29:02 DEBUG logStreamMetric(): Overall view duration (ms): 2041
2023-03-15 20:29:02 DEBUG logStreamMetric(): Current view byte size: 196
2023-03-15 20:29:02 DEBUG logStreamMetric(): Overall view byte size: 396292
2023-03-15 20:29:02 DEBUG logStreamMetric(): Current transfer rate (bps): 11607160 (11335 Kbps)
2023-03-15 20:29:02 DEBUG logStreamMetric(): Stream uptime in (ms): 3386
2023-03-15 20:29:02 DEBUG logStreamMetric(): Total transferred bytes: 396501
2023-03-15 20:29:02 DEBUG logStreamMetric(): Total number of streaming sessions: 1
2023-03-15 20:29:02 DEBUG logStreamMetric(): Total number of active streaming sessions: 1
2023-03-15 20:29:02 DEBUG logStreamMetric(): Average streaming sessions duration: 0
2023-03-15 20:29:02 DEBUG logStreamMetric(): Number of Buffered ACKs: 1
2023-03-15 20:29:02 DEBUG logStreamMetric(): Number of Received ACKs: 0
2023-03-15 20:29:02 DEBUG logStreamMetric(): Number of Persisted ACKs: 0
2023-03-15 20:29:02 DEBUG logStreamMetric(): Number of Error ACKs: 0
2023-03-15 20:29:02 DEBUG logStreamMetric(): Number of dropped frames: 0
2023-03-15 20:29:02 DEBUG logStreamMetric(): Number of skipped frames: 0
2023-03-15 20:29:02 DEBUG logStreamMetric(): Number of storage pressure events: 0
2023-03-15 20:29:02 DEBUG logStreamMetric(): Number of latency pressure events: 0
2023-03-15 20:29:02 DEBUG logStreamMetric(): Number of buffer pressure events: 0
2023-03-15 20:29:02 DEBUG logStreamMetric(): Number of stream staleness events: 0
2023-03-15 20:29:02 DEBUG logStreamMetric(): Number of latency pressure events: 0
2023-03-15 20:29:02 DEBUG logStreamMetric(): Number of Put Frame errors: 0
2023-03-15 20:29:02 DEBUG logStreamMetric(): Average Control Plane API latency (ms): 30
2023-03-15 20:29:02 DEBUG logStreamMetric(): Average Data Plane API latency (ms): 0
2023-03-15 20:29:02 DEBUG logStreamMetric(): Current elementary frame rate (fps): 30.000030
2023-03-15 20:29:02 DEBUG logStreamMetric(): API Call Retry Count : 0
2023-03-15 20:29:02 DEBUG logStreamMetric(): Total elementary frame rate (fps): 30.000030
2023-03-15 20:29:02 DEBUG logStreamMetric(): Average API call retry count for client: 0.000000
2023-03-15 20:29:02 DEBUG postReadCallback(): Wrote 27224 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:02 DEBUG postReadCallback(): Wrote 4870 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:02 DEBUG postReadCallback(): Wrote 2474 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:02 DEBUG postWriteCallback(): Curl post body write function for stream with handle: stage-474 and upload handle: 0 returned: {"EventType":"RECEIVED","FragmentTimecode":1678912140552,"FragmentNumber":"91343852333181432392682062652588755985072766121"}
2023-03-15 20:29:02 DEBUG postReadCallback(): Wrote 4903 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:02 DEBUG postWriteCallback(): Curl post body write function for stream with handle: stage-474 and upload handle: 0 returned: {"EventType":"BUFFERING","FragmentTimecode":1678912142585,"FragmentNumber":"91343852333181432397633822809730277548953918370"}
2023-03-15 20:29:02 DEBUG postReadCallback(): Wrote 19365 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:02 DEBUG postReadCallback(): Wrote 19107 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:02 DEBUG postReadCallback(): Wrote 10042 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:02 DEBUG postWriteCallback(): Curl post body write function for stream with handle: stage-474 and upload handle: 0 returned: {"EventType":"PERSISTED","FragmentTimecode":1678912140552,"FragmentNumber":"91343852333181432392682062652588755985072766121"}
2023-03-15 20:29:02 DEBUG postReadCallback(): Wrote 23249 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:02 DEBUG postReadCallback(): Wrote 21853 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 365 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 10841 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 10974 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 9244 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 8973 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 10926 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 12684 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 9748 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 13755 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 10682 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 22235 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 366 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 10856 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 10791 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 10226 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 372 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 10355 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 9179 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 10426 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 8746 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 18024 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 334 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 9362 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 8941 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 8517 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 370 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 7905 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 6945 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 7265 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 14420 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 186 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:03 DEBUG postReadCallback(): Wrote 6553 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 7394 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 379 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 6164 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 7006 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 13222 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 15169 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 7814 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 14419 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 13385 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 6228 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 5940 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 6681 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 205 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 6326 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 5801 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 6180 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 5726 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG logStreamMetric(): Kinesis Video client and stream metrics:
2023-03-15 20:29:04 DEBUG logStreamMetric(): Overall storage byte size: 20971520
2023-03-15 20:29:04 DEBUG logStreamMetric(): Available storage byte size: 20392916
2023-03-15 20:29:04 DEBUG logStreamMetric(): Allocated storage byte size: 578604
2023-03-15 20:29:04 DEBUG logStreamMetric(): Total view allocation byte size: 691280
2023-03-15 20:29:04 DEBUG logStreamMetric(): Total streams transfer rate (bps): 8413960 (8216 Kbps)
2023-03-15 20:29:04 DEBUG logStreamMetric(): Current view duration (ms): 46
2023-03-15 20:29:04 DEBUG logStreamMetric(): Overall view duration (ms): 2051
2023-03-15 20:29:04 DEBUG logStreamMetric(): Current view byte size: 414
2023-03-15 20:29:04 DEBUG logStreamMetric(): Overall view byte size: 542106
2023-03-15 20:29:04 DEBUG logStreamMetric(): Current transfer rate (bps): 8413960 (8216 Kbps)
2023-03-15 20:29:04 DEBUG logStreamMetric(): Stream uptime in (ms): 5425
2023-03-15 20:29:04 DEBUG logStreamMetric(): Total transferred bytes: 938389
2023-03-15 20:29:04 DEBUG logStreamMetric(): Total number of streaming sessions: 1
2023-03-15 20:29:04 DEBUG logStreamMetric(): Total number of active streaming sessions: 1
2023-03-15 20:29:04 DEBUG logStreamMetric(): Average streaming sessions duration: 0
2023-03-15 20:29:04 DEBUG logStreamMetric(): Number of Buffered ACKs: 2
2023-03-15 20:29:04 DEBUG logStreamMetric(): Number of Received ACKs: 1
2023-03-15 20:29:04 DEBUG logStreamMetric(): Number of Persisted ACKs: 1
2023-03-15 20:29:04 DEBUG logStreamMetric(): Number of Error ACKs: 0
2023-03-15 20:29:04 DEBUG logStreamMetric(): Number of dropped frames: 0
2023-03-15 20:29:04 DEBUG logStreamMetric(): Number of skipped frames: 0
2023-03-15 20:29:04 DEBUG logStreamMetric(): Number of storage pressure events: 0
2023-03-15 20:29:04 DEBUG logStreamMetric(): Number of latency pressure events: 0
2023-03-15 20:29:04 DEBUG logStreamMetric(): Number of buffer pressure events: 0
2023-03-15 20:29:04 DEBUG logStreamMetric(): Number of stream staleness events: 0
2023-03-15 20:29:04 DEBUG logStreamMetric(): Number of latency pressure events: 0
2023-03-15 20:29:04 DEBUG logStreamMetric(): Number of Put Frame errors: 0
2023-03-15 20:29:04 DEBUG logStreamMetric(): Average Control Plane API latency (ms): 30
2023-03-15 20:29:04 DEBUG logStreamMetric(): Average Data Plane API latency (ms): 0
2023-03-15 20:29:04 DEBUG logStreamMetric(): Current elementary frame rate (fps): 30.000030
2023-03-15 20:29:04 DEBUG logStreamMetric(): API Call Retry Count : 0
2023-03-15 20:29:04 DEBUG logStreamMetric(): Total elementary frame rate (fps): 30.000030
2023-03-15 20:29:04 DEBUG logStreamMetric(): Average API call retry count for client: 0.000000
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 35472 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 389 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 6817 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postWriteCallback(): Curl post body write function for stream with handle: stage-474 and upload handle: 0 returned: {"EventType":"RECEIVED","FragmentTimecode":1678912142585,"FragmentNumber":"91343852333181432397633822809730277548953918370"}
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 5955 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postWriteCallback(): Curl post body write function for stream with handle: stage-474 and upload handle: 0 returned: {"EventType":"BUFFERING","FragmentTimecode":1678912144618,"FragmentNumber":"91343852333181432402585582966871799198266878531"}
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 7708 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 18711 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 21102 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postWriteCallback(): Curl post body write function for stream with handle: stage-474 and upload handle: 0 returned: {"EventType":"PERSISTED","FragmentTimecode":1678912142585,"FragmentNumber":"91343852333181432397633822809730277548953918370"}
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 382 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 8025 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 9700 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:04 DEBUG postReadCallback(): Wrote 395 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 9222 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 8883 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 9197 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 400 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 8973 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 8577 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 8198 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 8391 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 15036 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 6884 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 5301 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 5127 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 4043 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 3306 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 7084 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 4216 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 4470 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 4037 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 410 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 7888 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 8308 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 4342 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 3800 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 4014 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 400 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 8473 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:05 DEBUG postReadCallback(): Wrote 6032 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 10116 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 7928 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 7419 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 9547 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 9903 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 11476 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 19469 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 9287 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 9177 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 9507 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 450 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 15923 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 14030 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 7327 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 6316 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 6542 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 384 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 6018 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG logStreamMetric(): Kinesis Video client and stream metrics:
2023-03-15 20:29:06 DEBUG logStreamMetric(): Overall storage byte size: 20971520
2023-03-15 20:29:06 DEBUG logStreamMetric(): Available storage byte size: 20508885
2023-03-15 20:29:06 DEBUG logStreamMetric(): Allocated storage byte size: 462635
2023-03-15 20:29:06 DEBUG logStreamMetric(): Total view allocation byte size: 691280
2023-03-15 20:29:06 DEBUG logStreamMetric(): Total streams transfer rate (bps): 5942328 (5803 Kbps)
2023-03-15 20:29:06 DEBUG logStreamMetric(): Current view duration (ms): 23
2023-03-15 20:29:06 DEBUG logStreamMetric(): Overall view duration (ms): 2038
2023-03-15 20:29:06 DEBUG logStreamMetric(): Current view byte size: 225
2023-03-15 20:29:06 DEBUG logStreamMetric(): Overall view byte size: 440298
2023-03-15 20:29:06 DEBUG logStreamMetric(): Current transfer rate (bps): 5942328 (5803 Kbps)
2023-03-15 20:29:06 DEBUG logStreamMetric(): Stream uptime in (ms): 7450
2023-03-15 20:29:06 DEBUG logStreamMetric(): Total transferred bytes: 1378876
2023-03-15 20:29:06 DEBUG logStreamMetric(): Total number of streaming sessions: 1
2023-03-15 20:29:06 DEBUG logStreamMetric(): Total number of active streaming sessions: 1
2023-03-15 20:29:06 DEBUG logStreamMetric(): Average streaming sessions duration: 0
2023-03-15 20:29:06 DEBUG logStreamMetric(): Number of Buffered ACKs: 3
2023-03-15 20:29:06 DEBUG logStreamMetric(): Number of Received ACKs: 2
2023-03-15 20:29:06 DEBUG logStreamMetric(): Number of Persisted ACKs: 2
2023-03-15 20:29:06 DEBUG logStreamMetric(): Number of Error ACKs: 0
2023-03-15 20:29:06 DEBUG logStreamMetric(): Number of dropped frames: 0
2023-03-15 20:29:06 DEBUG logStreamMetric(): Number of skipped frames: 0
2023-03-15 20:29:06 DEBUG logStreamMetric(): Number of storage pressure events: 0
2023-03-15 20:29:06 DEBUG logStreamMetric(): Number of latency pressure events: 0
2023-03-15 20:29:06 DEBUG logStreamMetric(): Number of buffer pressure events: 0
2023-03-15 20:29:06 DEBUG logStreamMetric(): Number of stream staleness events: 0
2023-03-15 20:29:06 DEBUG logStreamMetric(): Number of latency pressure events: 0
2023-03-15 20:29:06 DEBUG logStreamMetric(): Number of Put Frame errors: 0
2023-03-15 20:29:06 DEBUG logStreamMetric(): Average Control Plane API latency (ms): 30
2023-03-15 20:29:06 DEBUG logStreamMetric(): Average Data Plane API latency (ms): 0
2023-03-15 20:29:06 DEBUG logStreamMetric(): Current elementary frame rate (fps): 30.000030
2023-03-15 20:29:06 DEBUG logStreamMetric(): API Call Retry Count : 0
2023-03-15 20:29:06 DEBUG logStreamMetric(): Total elementary frame rate (fps): 30.000030
2023-03-15 20:29:06 DEBUG logStreamMetric(): Average API call retry count for client: 0.000000
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 15410 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 5816 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 7230 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postWriteCallback(): Curl post body write function for stream with handle: stage-474 and upload handle: 0 returned: {"EventType":"RECEIVED","FragmentTimecode":1678912144618,"FragmentNumber":"91343852333181432402585582966871799198266878531"}
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 17523 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postWriteCallback(): Curl post body write function for stream with handle: stage-474 and upload handle: 0 returned: {"EventType":"BUFFERING","FragmentTimecode":1678912146652,"FragmentNumber":"91343852333181432407537343124013320836967052581"}
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 11883 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 16300 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 13027 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 10339 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postReadCallback(): Wrote 9576 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:06 DEBUG postWriteCallback(): Curl post body write function for stream with handle: stage-474 and upload handle: 0 returned: {"EventType":"PERSISTED","FragmentTimecode":1678912144618,"FragmentNumber":"91343852333181432402585582966871799198266878531"}
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 14638 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 11722 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 4934 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 4747 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 3981 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 3926 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 3199 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 5937 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 2985 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 2330 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 2379 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 391 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 4305 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 4435 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 2564 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 1628 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 1777 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 1891 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 1814 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 4371 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 5195 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 3165 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 3510 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:07 DEBUG postReadCallback(): Wrote 5835 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 5109 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 6639 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 18900 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 12517 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 10777 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 12074 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 10891 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 11634 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 23176 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 26069 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 14510 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 14379 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 13503 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 12052 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 12061 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 27616 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 13930 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG logStreamMetric(): Kinesis Video client and stream metrics:
2023-03-15 20:29:08 DEBUG logStreamMetric(): Overall storage byte size: 20971520
2023-03-15 20:29:08 DEBUG logStreamMetric(): Available storage byte size: 20479064
2023-03-15 20:29:08 DEBUG logStreamMetric(): Allocated storage byte size: 492456
2023-03-15 20:29:08 DEBUG logStreamMetric(): Total view allocation byte size: 691280
2023-03-15 20:29:08 DEBUG logStreamMetric(): Total streams transfer rate (bps): 4386584 (4283 Kbps)
2023-03-15 20:29:08 DEBUG logStreamMetric(): Current view duration (ms): 0
2023-03-15 20:29:08 DEBUG logStreamMetric(): Overall view duration (ms): 2047
2023-03-15 20:29:08 DEBUG logStreamMetric(): Current view byte size: 0
2023-03-15 20:29:08 DEBUG logStreamMetric(): Overall view byte size: 454375
2023-03-15 20:29:08 DEBUG logStreamMetric(): Current transfer rate (bps): 4386584 (4283 Kbps)
2023-03-15 20:29:08 DEBUG logStreamMetric(): Stream uptime in (ms): 9500
2023-03-15 20:29:08 DEBUG logStreamMetric(): Total transferred bytes: 1833476
2023-03-15 20:29:08 DEBUG logStreamMetric(): Total number of streaming sessions: 1
2023-03-15 20:29:08 DEBUG logStreamMetric(): Total number of active streaming sessions: 1
2023-03-15 20:29:08 DEBUG logStreamMetric(): Average streaming sessions duration: 0
2023-03-15 20:29:08 DEBUG logStreamMetric(): Number of Buffered ACKs: 4
2023-03-15 20:29:08 DEBUG logStreamMetric(): Number of Received ACKs: 3
2023-03-15 20:29:08 DEBUG logStreamMetric(): Number of Persisted ACKs: 3
2023-03-15 20:29:08 DEBUG logStreamMetric(): Number of Error ACKs: 0
2023-03-15 20:29:08 DEBUG logStreamMetric(): Number of dropped frames: 0
2023-03-15 20:29:08 DEBUG logStreamMetric(): Number of skipped frames: 0
2023-03-15 20:29:08 DEBUG logStreamMetric(): Number of storage pressure events: 0
2023-03-15 20:29:08 DEBUG logStreamMetric(): Number of latency pressure events: 0
2023-03-15 20:29:08 DEBUG logStreamMetric(): Number of buffer pressure events: 0
2023-03-15 20:29:08 DEBUG logStreamMetric(): Number of stream staleness events: 0
2023-03-15 20:29:08 DEBUG logStreamMetric(): Number of latency pressure events: 0
2023-03-15 20:29:08 DEBUG logStreamMetric(): Number of Put Frame errors: 0
2023-03-15 20:29:08 DEBUG logStreamMetric(): Average Control Plane API latency (ms): 30
2023-03-15 20:29:08 DEBUG logStreamMetric(): Average Data Plane API latency (ms): 0
2023-03-15 20:29:08 DEBUG logStreamMetric(): Current elementary frame rate (fps): 30.000030
2023-03-15 20:29:08 DEBUG logStreamMetric(): API Call Retry Count : 0
2023-03-15 20:29:08 DEBUG logStreamMetric(): Total elementary frame rate (fps): 30.000030
2023-03-15 20:29:08 DEBUG logStreamMetric(): Average API call retry count for client: 0.000000
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 30881 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 182 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 14425 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 16127 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postWriteCallback(): Curl post body write function for stream with handle: stage-474 and upload handle: 0 returned: {"EventType":"RECEIVED","FragmentTimecode":1678912146652,"FragmentNumber":"91343852333181432407537343124013320836967052581"}
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 17223 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postWriteCallback(): Curl post body write function for stream with handle: stage-474 and upload handle: 0 returned: {"EventType":"BUFFERING","FragmentTimecode":1678912148685,"FragmentNumber":"91343852333181432412489103281154842485658653493"}
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 31250 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 33998 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postReadCallback(): Wrote 15134 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:08 DEBUG postWriteCallback(): Curl post body write function for stream with handle: stage-474 and upload handle: 0 returned: {"EventType":"PERSISTED","FragmentTimecode":1678912146652,"FragmentNumber":"91343852333181432407537343124013320836967052581"}
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 12961 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 193 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 16443 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 14732 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 13656 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 30574 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 14101 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 13315 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 14583 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 13106 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 11685 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 21642 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 23514 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 11219 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 9932 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 187 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 9008 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 18060 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 21334 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 16656 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 28950 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 24556 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 374 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 11311 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 13214 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 11653 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:09 DEBUG postReadCallback(): Wrote 340 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 12559 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 9041 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 336 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 8752 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 9625 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 10529 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 9569 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 20254 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 285 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 8014 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 8449 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 7970 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 436 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 9903 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 7134 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 6765 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 6903 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 6608 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 5463 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 5132 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 397 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 11683 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 7401 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG logStreamMetric(): Kinesis Video client and stream metrics:
2023-03-15 20:29:10 DEBUG logStreamMetric(): Overall storage byte size: 20971520
2023-03-15 20:29:10 DEBUG logStreamMetric(): Available storage byte size: 20220261
2023-03-15 20:29:10 DEBUG logStreamMetric(): Allocated storage byte size: 751259
2023-03-15 20:29:10 DEBUG logStreamMetric(): Total view allocation byte size: 691280
2023-03-15 20:29:10 DEBUG logStreamMetric(): Total streams transfer rate (bps): 3809528 (3720 Kbps)
2023-03-15 20:29:10 DEBUG logStreamMetric(): Current view duration (ms): 23
2023-03-15 20:29:10 DEBUG logStreamMetric(): Overall view duration (ms): 2035
2023-03-15 20:29:10 DEBUG logStreamMetric(): Current view byte size: 198
2023-03-15 20:29:10 DEBUG logStreamMetric(): Overall view byte size: 709925
2023-03-15 20:29:10 DEBUG logStreamMetric(): Current transfer rate (bps): 3809528 (3720 Kbps)
2023-03-15 20:29:10 DEBUG logStreamMetric(): Stream uptime in (ms): 11517
2023-03-15 20:29:10 DEBUG logStreamMetric(): Total transferred bytes: 2543203
2023-03-15 20:29:10 DEBUG logStreamMetric(): Total number of streaming sessions: 1
2023-03-15 20:29:10 DEBUG logStreamMetric(): Total number of active streaming sessions: 1
2023-03-15 20:29:10 DEBUG logStreamMetric(): Average streaming sessions duration: 0
2023-03-15 20:29:10 DEBUG logStreamMetric(): Number of Buffered ACKs: 5
2023-03-15 20:29:10 DEBUG logStreamMetric(): Number of Received ACKs: 4
2023-03-15 20:29:10 DEBUG logStreamMetric(): Number of Persisted ACKs: 4
2023-03-15 20:29:10 DEBUG logStreamMetric(): Number of Error ACKs: 0
2023-03-15 20:29:10 DEBUG logStreamMetric(): Number of dropped frames: 0
2023-03-15 20:29:10 DEBUG logStreamMetric(): Number of skipped frames: 0
2023-03-15 20:29:10 DEBUG logStreamMetric(): Number of storage pressure events: 0
2023-03-15 20:29:10 DEBUG logStreamMetric(): Number of latency pressure events: 0
2023-03-15 20:29:10 DEBUG logStreamMetric(): Number of buffer pressure events: 0
2023-03-15 20:29:10 DEBUG logStreamMetric(): Number of stream staleness events: 0
2023-03-15 20:29:10 DEBUG logStreamMetric(): Number of latency pressure events: 0
2023-03-15 20:29:10 DEBUG logStreamMetric(): Number of Put Frame errors: 0
2023-03-15 20:29:10 DEBUG logStreamMetric(): Average Control Plane API latency (ms): 30
2023-03-15 20:29:10 DEBUG logStreamMetric(): Average Data Plane API latency (ms): 0
2023-03-15 20:29:10 DEBUG logStreamMetric(): Current elementary frame rate (fps): 30.000030
2023-03-15 20:29:10 DEBUG logStreamMetric(): API Call Retry Count : 0
2023-03-15 20:29:10 DEBUG logStreamMetric(): Total elementary frame rate (fps): 30.000030
2023-03-15 20:29:10 DEBUG logStreamMetric(): Average API call retry count for client: 0.000000
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 38415 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 3980 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postWriteCallback(): Curl post body write function for stream with handle: stage-474 and upload handle: 0 returned: {"EventType":"RECEIVED","FragmentTimecode":1678912148685,"FragmentNumber":"91343852333181432412489103281154842485658653493"}
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 3121 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postWriteCallback(): Curl post body write function for stream with handle: stage-474 and upload handle: 0 returned: {"EventType":"BUFFERING","FragmentTimecode":1678912150718,"FragmentNumber":"91343852333181432417440863438296364134198882028"}
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 2793 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 3196 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 2419 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postReadCallback(): Wrote 2421 bytes to Kinesis Video. Upload stream handle: 0
2023-03-15 20:29:10 DEBUG postWriteCallback(): Curl post body write function for stream with handle: stage-474 and upload handle: 0 returned: {"EventType":"PERSISTED","FragmentTimecode":1678912148685,"FragmentNumber":"91343852333181432412489103281154842485658653493"}
Viewer side. iOS 16, any iPhone device:
2023-02-23 11:23:17.156644+0100 xxx[25878:465215] HALPlugIn::DeviceGetCurrentTime: got an error from the plug-in routine, Error: 1937010544 (stop)
2023-02-23 11:23:17.156876+0100 xxx[25878:465215] HALPlugIn::DeviceGetCurrentTime: got an error from the plug-in routine, Error: 1937010544 (stop)
2023-02-23 11:23:17.157105+0100 xxx[25878:465215] HALPlugIn::DeviceGetCurrentTime: got an error from the plug-in routine, Error: 1937010544 (stop)
2023-02-23 11:23:23.143274+0100 xxx[25878:464484] HALPlugIn::DeviceGetCurrentTime: got an error from the plug-in routine, Error: 1937010544 (stop)
2023-02-23 11:23:29.168147+0100 xxx[25878:464484] HALPlugIn::DeviceGetCurrentTime: got an error from the plug-in routine, Error: 1937010544 (stop)
2023-02-23 11:23:35.181854+0100 xxx[25878:464484] HALPlugIn::DeviceGetCurrentTime: got an error from the plug-in routine, Error: 1937010544 (stop)
Here is also an example of code I use for generating HLS url
if (streamPlaybackMode === PlaybackMode.LIVE) {
const streamHLS = await kinesisVideoArchivedMediaInstance
.getHLSStreamingSessionURL({
StreamARN: streamDescription.StreamInfo?.StreamARN,
PlaybackMode: PlaybackMode.LIVE,
DiscontinuityMode: 'ON_DISCONTINUITY',
HLSFragmentSelector: {
FragmentSelectorType: 'SERVER_TIMESTAMP',
},
})
.promise();
streamHLSUrl = streamHLS.HLSStreamingSessionURL;
} else if (streamPlaybackMode === PlaybackMode.ON_DEMAND && duration) {
const streamCreatedTimestamp =
streamDescription.StreamInfo?.CreationTime?.getTime() as number;
const streamHLS = await kinesisVideoArchivedMediaInstance
.getHLSStreamingSessionURL({
StreamARN: streamDescription.StreamInfo?.StreamARN,
PlaybackMode: PlaybackMode.ON_DEMAND,
DiscontinuityMode: 'ON_DISCONTINUITY',
HLSFragmentSelector: {
FragmentSelectorType: 'SERVER_TIMESTAMP',
TimestampRange: {
StartTimestamp: new Date(streamCreatedTimestamp),
EndTimestamp: new Date(streamCreatedTimestamp + duration * 1000),
},
},
MaxMediaPlaylistFragmentResults: 1800,
})
.promise();
streamHLSUrl = streamHLS.HLSStreamingSessionURL;
I am not sure is this a bug with Producer or Kinesis generating and how it generates MediaPlaylist for LIVE or with AVPlayer. It can be the format of live playlist is not really compatible with iOS.
P.S. Note that first 2 fragments (4 seconds) after connecting to newly generated HLS url plays back with full audio for these fragments, then it drops 1-2 fragments (like 2-4 seconds) and so on. The HALPlugIn::DeviceGetCurrentTime
error shows up each time right before audio discontinued.
RPReplay_Final1678912265.MP4
UPD. Related issue: #358
@sirknightj @niyatim23
Hi guys, hope you are doing well.
It seems to me you work on producer-cpp , so it may be you can help with this or you know someone from producer-c?
I would appreciate any help.
This doesn't appear to be a bug with Producer or KVS backend.
If there was an issue with producer, the video/audio wouldn't have been correctly uploaded and therefore pulling said media on any environment would be unsuccessful. Most likely presenting in the form of an error 'media not found' from KVS etc.
If there was an error with KVS backend then the HLS API wouldn't correctly collect the media on any environment, not just the iOS application.
KVS doesn't currently maintain any consumer SDKs/sample applications for iOS, so unfortunately I don't have a reference architecture I can point towards as an example of how to create said application.
I appreciate the detailed write-up, and wish that I could provide further assistance but I don't see a link between the current issue and the existing software assets of KVS.