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년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠