Keep egress info for 24h (#856)

* Keep egress info for 24h

* updates

* better version comparison

* fix test

* duplicated if
This commit is contained in:
David Colburn
2022-07-28 20:27:59 -05:00
committed by GitHub
parent 0ab4379c5c
commit 7aa5888338
11 changed files with 426 additions and 284 deletions
+1 -2
View File
@@ -41,9 +41,8 @@ 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, roomID livekit.RoomID) ([]*livekit.EgressInfo, error)
ListEgress(ctx context.Context, roomName livekit.RoomName) ([]*livekit.EgressInfo, error)
UpdateEgress(ctx context.Context, info *livekit.EgressInfo) error
DeleteEgress(ctx context.Context, info *livekit.EgressInfo) error
}
//counterfeiter:generate . IngressStore