mirror of
https://github.com/livekit/livekit.git
synced 2026-06-03 19:41:43 +00:00
fix list-egress (#722)
This commit is contained in:
committed by
David Zhao
parent
9ee50c300c
commit
784b17a01c
@@ -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