mirror of
https://github.com/livekit/livekit.git
synced 2026-05-25 20:45:13 +00:00
fix list-egress (#722)
This commit is contained in:
@@ -181,6 +181,9 @@ func (s *EgressService) ListEgress(ctx context.Context, req *livekit.ListEgressR
|
||||
if req.RoomName != "" {
|
||||
room, err := s.store.LoadRoom(ctx, livekit.RoomName(req.RoomName))
|
||||
if err != nil {
|
||||
if err == ErrRoomNotFound {
|
||||
return &livekit.ListEgressResponse{}, nil
|
||||
}
|
||||
return nil, err
|
||||
}
|
||||
roomID = livekit.RoomID(room.Sid)
|
||||
|
||||
Reference in New Issue
Block a user