admin管理员组

文章数量:1024016

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?
    }
});

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?
    }
});
Share Improve this question asked Apr 26, 2019 at 19:34 Brian NezhadBrian Nezhad 6,28610 gold badges47 silver badges70 bronze badges 1
  • Normally you would use one of the producer SDKs but there is no JavaScript producer SDK afaik. Perhaps you could write this one ponent of your app in one of the supported languages. – jarmod Commented Apr 26, 2019 at 19:58
Add a ment  | 

1 Answer 1

Reset to default 6

The easiest way is to use the GStreamer plugin

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

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?
    }
});

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?
    }
});
Share Improve this question asked Apr 26, 2019 at 19:34 Brian NezhadBrian Nezhad 6,28610 gold badges47 silver badges70 bronze badges 1
  • Normally you would use one of the producer SDKs but there is no JavaScript producer SDK afaik. Perhaps you could write this one ponent of your app in one of the supported languages. – jarmod Commented Apr 26, 2019 at 19:58
Add a ment  | 

1 Answer 1

Reset to default 6

The easiest way is to use the GStreamer plugin

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

本文标签: javascriptHow do I send Video data into Kinesis Video StreamStack Overflow