WebRTC stream recording to S3

0

Hello!

Want to store webRTC(webm) stream to S3 or KVS.

Did this by uploading 1min chunk directly to S3 and merge the stream using MediaConvert.

Is there any way which could do this more efficiently?

Thank you.

1 回答
1
已接受的回答

I would suggest two options:

  1. Stream into Kinesis Video Stream.
    KVS uses Amazon S3 as the underlying data store, which means you can set and control retention periods on a per-stream basis for a limited time period or indefinitely. You can change the stream retention period at any point. You can retrieve the video using the GetMedia API: https://docs.aws.amazon.com/kinesisvideostreams/latest/dg/API_dataplane_GetMedia.html https://github.com/aws/amazon-kinesis-video-streams-parser-library#kinesisvideoexample

  2. Automate the S3 part wtih AWS Elemental MediaConvert
    You can setup an assembly workflow job and stitch together multiple inputs file https://docs.aws.amazon.com/mediaconvert/latest/ug/assembling-multiple-inputs-and-input-clips.html

However, there are other options (e.g. AWS Marketplace or KVS consumers) but I would explore the above first.

AWS
已回答 4 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则