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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南