mirror of
https://github.com/heygen-com/hyperframes.git
synced 2026-11-20 20:38:34 +00:00
perf(aws-lambda): build the final mp4 inside S3 with its index up front
Distributed mp4 chunks now carry their slice of the plan audio. Assemble writes one faststart header (ftyp, a moov indexing every chunk's samples, a 64-bit mdat header) and S3 copies each chunk's mdat payload after it with UploadPartCopy.
This commit is contained in:
@@ -162,6 +162,10 @@ Resources:
|
||||
Policies:
|
||||
- S3CrudPolicy:
|
||||
BucketName: !Ref RenderBucket
|
||||
- Statement:
|
||||
- Effect: Allow
|
||||
Action: s3:AbortMultipartUpload
|
||||
Resource: !Sub "arn:${AWS::Partition}:s3:::${RenderBucket}/*"
|
||||
# CloudWatch Logs perms are covered by SAM's default
|
||||
# AWSLambdaBasicExecutionRole — explicit `CloudWatchLogsFullAccess`
|
||||
# would be overscope (`logs:*` on `*`, including DeleteLogGroup +
|
||||
|
||||
Reference in New Issue
Block a user