Я установил aws-kinesis-продюсер как образ докера. установка завершена, и когда я вхожу в контейнер, где находится сервис, я запускаю команду
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.
Я получил ответ как:
[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 на странице kinesis, верно? Как я могу это сделать?
Я новичок в кинезе и исследованиях. Пожалуйста, поправьте меня, если я не так понимаю.