mirror of
https://github.com/livekit/livekit.git
synced 2026-09-01 20:09:08 +00:00
update participant grants (#782)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user