Understanding Kinesis Producer

0

I installed the aws-kinesis-producer as docker image. installation is done and when I enter the container where the service is there, I triggered the command

 AWS_ACCESS_KEY_ID=**** AWS_SECRET_ACCESS_KEY=**** ./kinesis_video_gstreamer_sample_app ftilab tsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov

where ftilab is the stream I created in Kinesis Video Stream Page.

I got the response as:

[INFO ][2019-03-08 18:45:42] Initializing curl.
[INFO ][2019-03-08 18:45:42]
createKinesisVideoClient(): Creating Kinesis Video Client
[INFO ][2019-03-08 18:45:42]
heapInitialize(): Initializing native heap with limit size 536870912, spill ratio 0% and flags 0x00000001
[INFO ][2019-03-08 18:45:42]
heapInitialize(): Creating AIV heap.
[INFO ][2019-03-08 18:45:42]
heapInitialize(): Heap is initialized OK
[INFO ][2019-03-08 18:45:42] Refreshing credentials. Force refreshing: 0 Now time is: 1552070742 Expiration: 0
[INFO ][2019-03-08 18:45:42] New credentials expiration is 1552073142
[DEBUG][2019-03-08 18:45:42] createDeviceHandler invoked
[INFO ][2019-03-08 18:45:42]
createDeviceResultEvent(): Create device result event.
[DEBUG][2019-03-08 18:45:42] clientReadyHandler invoked
[DEBUG][2019-03-08 18:45:42] Awaiting for the producer to become ready...
[DEBUG][2019-03-08 18:45:42] Kinesis Video producer is Ready.
[DEBUG][2019-03-08 18:45:42] Client is ready
[INFO ][2019-03-08 18:45:42] Creating Kinesis Video Stream ftilab
[INFO ][2019-03-08 18:45:42]
createKinesisVideoStream(): Creating Kinesis Video Stream.
[DEBUG][2019-03-08 18:45:42] describeStreamHandler invoked
[DEBUG][2019-03-08 18:45:42] Awaiting for the stream to become ready...
[INFO ][2019-03-08 18:45:42] Refreshing credentials. Force refreshing: 0 Now time is: 1552070742 Expiration: 0
[DEBUG][2019-03-08 18:45:43] describeStream response: {"StreamInfo":{"CreationTime":1.552056135783E9,"DataRetentionInHours":2,"DeviceName":"Kinesis_Video_Device","KmsKeyId":"arn:aws:kms:us-west-2:425378269382:alias/aws/kinesisvideo","MediaType":"video/h264","Status":"ACTIVE","StreamARN":"arn:aws:kinesisvideo:us-west-2:425378269382:stream/ftilab/1552056135783","StreamName":"ftilab","Version":"CgVTSDatnHp1RMFNTXVe"}}
[INFO ][2019-03-08 18:45:43] Discovered existing Kinesis Video stream: arn:aws:kinesisvideo:us-west-2:425378269382:stream/ftilab/1552056135783
[INFO ][2019-03-08 18:45:43] stream arn in stream_info struct: arn:aws:kinesisvideo:us-west-2:425378269382:stream/ftilab/1552056135783
[INFO ][2019-03-08 18:45:43]
describeStreamResultEvent(): Describe stream result event.
[DEBUG][2019-03-08 18:45:43] streamingEndpointHandler invoked
[INFO ][2019-03-08 18:45:43] Refreshing credentials. Force refreshing: 0 Now time is: 1552070743 Expiration: 0
[DEBUG][2019-03-08 18:45:43] getStreamingEndpoint response: {"DataEndpoint":"https://s-4010bf70.kinesisvideo.us-west-2.amazonaws.com"}
[INFO ][2019-03-08 18:45:43] streaming to endpoint: https://s-4010bf70.kinesisvideo.us-west-2.amazonaws.com
[INFO ][2019-03-08 18:45:43]
getStreamingEndpointResultEvent(): Get streaming endpoint result event.
[DEBUG][2019-03-08 18:45:43] streamingTokenHandler invoked
[INFO ][2019-03-08 18:45:43] Refreshing credentials. Force refreshing: 1 Now time is: 1552070743 Expiration: 1552073142
[INFO ][2019-03-08 18:45:43] New credentials expiration is 1552073143
[INFO ][2019-03-08 18:45:43]
getStreamingTokenResultEvent(): Get streaming token result event.
[DEBUG][2019-03-08 18:45:43] streamReadyHandler invoked
[DEBUG][2019-03-08 18:45:43] Kinesis Video stream ftilab is Ready.
[DEBUG][2019-03-08 18:45:43] Stream is ready
Not all elements could be created.
[INFO ][2019-03-08 18:45:43]
freeKinesisVideoClient(): Freeing Kinesis Video Client
[INFO ][2019-03-08 18:45:43]
commonHeapDebugCheckAllocator(): Heap is initialized
[INFO ][2019-03-08 18:45:43]
commonHeapDebugCheckAllocator(): Heap limit:                            536870912
[INFO ][2019-03-08 18:45:43]
commonHeapDebugCheckAllocator(): Heap size:                             0
[INFO ][2019-03-08 18:45:43]
commonHeapDebugCheckAllocator(): Number of allocations:                                 0
[INFO ][2019-03-08 18:45:43]
aivHeapDebugCheckAllocator(): Allocated blocks pointer:                                 (nil)
[INFO ][2019-03-08 18:45:43]
aivHeapDebugCheckAllocator(): *******************************************
[INFO ][2019-03-08 18:45:43]
aivHeapDebugCheckAllocator(): *******************************************
[INFO ][2019-03-08 18:45:43]
aivHeapDebugCheckAllocator(): Free blocks pointer:                              0x7f65e989c010
[INFO ][2019-03-08 18:45:43]
aivHeapDebugCheckAllocator(): *******************************************
[INFO ][2019-03-08 18:45:43]
aivHeapDebugCheckAllocator(): Block:    0x7f65e989c010          size:   536870879
[INFO ][2019-03-08 18:45:43]
aivHeapDebugCheckAllocator(): *******************************************
[INFO ][2019-03-08 18:45:43]
heapRelease(): Freeing native heap.
[INFO ][2019-03-08 18:45:43] Freeing Kinesis Video Stream ftilab
[INFO ][2019-03-08 18:45:43]
freeKinesisVideoStream(): Freeing Kinesis Video stream.
[INFO ][2019-03-08 18:45:43] Curl shutdown.

I dint understand what happened, ideally I should be able to see the rtsp video in the kinesis page right? How can I do that?

I'm new to kinesis and exploring. Please correct me if my understanding is wrong.

rtsp
amazon-kinesis
amazon-kinesis-firehose
amazon-kinesis-agent
asked on Stack Overflow Mar 8, 2019 by stackjohnny

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0