Skip to content

Required Public ACL while doing RoomCompositeEgressRequest. #553

@ShaheerMohd25

Description

@ShaheerMohd25

So when we start the egress using

return api.RoomCompositeEgressRequest(
room_name=self.event_id,
preset=api.EncodingOptionsPreset.H264_720P_30,
audio_only=False,
custom_base_url=custom_base_url,
segment_outputs=[
api.SegmentedFileOutput(
filename_prefix=f"recordings/{self.event_id}/session{self.counter['max_counter']}",
playlist_name=f"{self.recording_id}-playlist.m3u8",
live_playlist_name=f"{self.recording_id}-live-playlist.m3u8",
segment_duration=2,
s3=api.S3Upload(
bucket=SPACE_NAME,
region=REGION_NAME,
access_key=ACCESS_KEY,
secret=SECRET_KEY,
endpoint=SPACE_ENDPOINT,
force_path_style=True,
),
)
],
file_outputs=[
api.EncodedFileOutput(
file_type=api.EncodedFileType.MP4,
filepath=f"recordings/{self.event_id}/{self.recording_id}.mp4",
s3=api.S3Upload(
bucket=SPACE_NAME,
region=REGION_NAME,
access_key=ACCESS_KEY,
secret=SECRET_KEY,
endpoint=SPACE_ENDPOINT,
force_path_style=True,
),
),
# api.EncodedFileOutput(
# file_type=api.EncodedFileType.OGG,
# filepath=f"recordings/{self.event_id}/{self.recording_id}.ogg",
# s3=api.S3Upload(
# bucket=SPACE_NAME,
# region=REGION_NAME,
# access_key=ACCESS_KEY,
# secret=SECRET_KEY,
# endpoint=SPACE_ENDPOINT,
# force_path_style=True,
# ),
# ),
],
)

Under api.S3Upload, require ACL type so that we can upload public-read files and don't have to worry about the permission

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions