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
1 Answer
Reset to default 6The easiest way is to use the GStreamer plugin
Alternatively you can use the producer SDKS for Java, Android, or C++