javascript - How do I send Video data into Kinesis Video Stream? - Stack Overflow

I have been reading the Kinesis Video Stream documentation (Javascript) for a few days now I can't

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++

发布者:admin,转转请注明出处:http://www.yc00.com/questions/1745520521a4631240.html

相关推荐

发表回复

评论列表(0条)

  • 暂无评论

联系我们

400-800-8888

在线咨询: QQ交谈

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息

关注微信