最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

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

programmeradmin0浏览0评论

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

发布评论

评论列表(0)

  1. 暂无评论