modern-city-48224
09/11/2025, 2:34 PMtall-airline-16756
09/11/2025, 2:34 PMtall-airline-16756
09/11/2025, 2:35 PMForcePathStyle
.
Here’s a friendly guide to help you get started:
• Via YAML Configuration: Just add the following to your LiveKit egress YAML config file:
storage:
s3:
access_key: your-supabase-access-key
secret: your-supabase-secret-key
region: auto
endpoint: <https://your-project-id.fra1.storage.supabase.com>
bucket: your-bucket-name
force_path_style: true
• Via API Request: You can also specify Supabase storage in individual egress requests using the S3Upload
configuration like this:
from livekit import api
req = api.RoomCompositeEgressRequest(
room_name="my-room",
file_outputs=[api.EncodedFileOutput(
file_type=api.EncodedFileType.MP4,
filepath="recordings/{room_name}-{time}.mp4",
s3=api.S3Upload(
bucket="your-bucket-name",
region="auto",
endpoint="<https://your-project-id.fra1.storage.supabase.com>",
access_key="your-supabase-access-key",
secret="your-supabase-secret-key",
force_path_style=True
)
)]
)
Just a quick reminder: make sure ForcePathStyle
is set to true
to keep everything running smoothly. If you have any questions or need a hand with the setup, I’m here to help—just let me know!