简体   繁体   English

将媒体放入 Node.js 上的 Kinesis Video Streams

[英]Put media into Kinesis Video Streams on Node.js

I'm trying to put a media stream into a Kinesis Video Stream.我正在尝试将媒体 stream 放入 Kinesis Video Stream 中。 Since this is not supported within the Javascript SDK yet, I wonder if there is any solution to get this working without a Java workaround, just pure Javascript. Since this is not supported within the Javascript SDK yet, I wonder if there is any solution to get this working without a Java workaround, just pure Javascript.

In the Javascript SDK I can get an endpoint für PutMedia: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/KinesisVideo.html - so I wonder why there's a method to get the endpoint but no method to put media via the Javascript SDK. In the Javascript SDK I can get an endpoint für PutMedia: https://docs.aws.amazon.com/AWSJavaScriptSDK/latest/AWS/KinesisVideo.html - so I wonder why there's a method to get the endpoint but no method to put媒体通过 Javascript SDK。

Any help would be much appreciated, Oliver任何帮助将不胜感激,奥利弗

Apologies.. There is no direct support for the PutMedia API in JS yet.抱歉.. JS 中还没有对 PutMedia API 的直接支持。 In the meanwhile, the API is described in the documentation: https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_dataplane_PutMedia.html同时,API 在文档中有所描述: https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_dataplane_PutMedia.ZFC35FDC70D5FC69D269EZ83A8

You can pre-generate the MKV and issue a POST call directly.您可以预先生成 MKV 并直接发出 POST 调用。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM