consolidate room internal (#1030)

* consolidate room internal

* create room internal map

* pipelined room read

* check error

* fix pipelined reads

* clean up after test
This commit is contained in:
David Colburn
2022-09-22 15:59:27 -07:00
committed by GitHub
parent 20c565ca02
commit b97d59b8db
15 changed files with 168 additions and 372 deletions
+1 -1
View File
@@ -110,7 +110,7 @@ func (s *EgressService) StartEgress(ctx context.Context, roomName livekit.RoomNa
return nil, ErrEgressNotConnected
}
room, err := s.store.LoadRoom(ctx, roomName)
room, _, err := s.store.LoadRoom(ctx, roomName, false)
if err != nil {
return nil, err
}