This message was deleted.
# helpdesk
s
This message was deleted.
b
Copy code
streamRequest := &livekit.RoomCompositeEgressRequest{
		RoomName: roomName,
		Layout:   roomCompositeLayout,
		Output: &livekit.RoomCompositeEgressRequest_Segments{
			Segments: &livekit.SegmentedFileOutput{
				FilenamePrefix: fileNamePrefix,
				PlaylistName:   fileNamePath,
				Output: &livekit.SegmentedFileOutput_S3{
					S3: &livekit.S3Upload{
						AccessKey: h.S3BucketConfig.AccessID,
						Secret:    h.S3BucketConfig.Secret,
						Region:    h.S3BucketConfig.Region,
						Bucket:    h.S3BucketConfig.BucketName,
					},
				},
			},
		},
	}

	return h.LivekitEgressClient.StartRoomCompositeEgress(ctx, streamRequest)
This looks like a authentication issue, but it is unclear when that is from….
d
how did you create LivekitEgressClient?
b
Apology for the late reply (i was asleep).
@dry-elephant-14928
Copy code
liveKitEgressClient := lksdk.NewEgressClient(
   cfg.FlagConfig.LiveKit.Host,
   cfg.FlagConfig.LiveKit.Key,
   cfg.FlagConfig.LiveKit.Secret,
)
d
and how is the server hosted? Cloud or OSS?
b
We are using AWS (ECR and ECS). @dry-elephant-14928
We are using Livekit CLoud as well.
@dry-elephant-14928, I marking this issue as resolved. The bug is from our end. Thank you!
d
great, thank you for the update!