我将aws-kinesis-producer安装为docker映像。安装完成,当我进入服务所在的容器时,我触发了命令
AWS_ACCESS_KEY_ID=**** AWS_SECRET_ACCESS_KEY=**** ./kinesis_video_gstreamer_sample_app ftilab tsp://wowzaec2demo.streamlock.net/vod/mp4:BigBuckBunny_115k.mov
其中ftilab
是我在Kinesis Video Stream Page中创建的流。
我得到的答复是:
[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.
我不明白发生了什么,理想情况下,我应该能够在运动学页面上看到rtsp视频,对吗?我该怎么办?
我是运动和探索的新手。如果我的理解错误,请纠正我。