update participant grants (#782)

This commit is contained in:
David Colburn
2022-06-24 09:29:04 -07:00
committed by GitHub
parent adf2d191b0
commit 407996702b
+4
View File
@@ -135,6 +135,10 @@ func (s *EgressService) UpdateLayout(ctx context.Context, req *livekit.UpdateLay
return nil, err
}
grants := GetGrants(ctx)
grants.Video.Room = roomName
grants.Video.RoomAdmin = true
_, err = s.roomService.UpdateParticipant(ctx, &livekit.UpdateParticipantRequest{
Room: roomName,
Identity: info.EgressId,