fix participant, ensure room name matches (#2660)

This commit is contained in:
David Colburn
2024-04-17 13:12:57 -07:00
committed by GitHub
parent e96e8de725
commit 8f8825cb88
2 changed files with 12 additions and 4 deletions
+2
View File
@@ -107,6 +107,8 @@ func (s *RoomService) CreateRoom(ctx context.Context, req *livekit.CreateRoomReq
})
if req.Egress != nil && req.Egress.Room != nil {
// ensure room name matches
req.Egress.Room.RoomName = req.Name
_, err = s.egressLauncher.StartEgress(ctx, &rpc.StartEgressRequest{
Request: &rpc.StartEgressRequest_RoomComposite{
RoomComposite: req.Egress.Room,