add active filter to ListEgress (#1517)

* add active filter to ListEgress

* update test

* missed a filter
This commit is contained in:
David Colburn
2023-03-14 13:07:00 -07:00
committed by GitHub
parent c2335968de
commit b23a0e7f39
7 changed files with 33 additions and 20 deletions
+1 -1
View File
@@ -42,7 +42,7 @@ type ServiceStore interface {
type EgressStore interface {
StoreEgress(ctx context.Context, info *livekit.EgressInfo) error
LoadEgress(ctx context.Context, egressID string) (*livekit.EgressInfo, error)
ListEgress(ctx context.Context, roomName livekit.RoomName) ([]*livekit.EgressInfo, error)
ListEgress(ctx context.Context, roomName livekit.RoomName, active bool) ([]*livekit.EgressInfo, error)
UpdateEgress(ctx context.Context, info *livekit.EgressInfo) error
}