Brian Nezhad
Brian Nezhad

Reputation: 6268

How do I send Video data into Kinesis Video Stream?

I have been reading the Kinesis Video Stream documentation (Javascript) for a few days now I can't figure out how to send my video? I also read the Kinesis documentation plus firehose, but no luck.

I have already created the stream with createStream() API.

Param:

var params = {
    APIName: "PUT_MEDIA",
    StreamName: streamName
};

getDataEndpoint():

In order to write data.

kinesisVideo.getDataEndpoint(params,function(err,data){
    if(err)
      console.log(err,err.stack);
    else{
      console.log(data);
      // How to Send DATA?
    }
});

Upvotes: 3

Views: 3866

Answers (1)

Javier Ramirez
Javier Ramirez

Reputation: 3988

The easiest way is to use the GStreamer plugin

Alternatively you can use the producer SDKS for Java, Android, or C++

Upvotes: 6

Related Questions