Remove egress store (#552)

* Remove egress store

* fix imports
This commit is contained in:
David Colburn
2022-03-22 12:37:31 -07:00
committed by GitHub
parent 076eb1c8ae
commit 13c91678bf
7 changed files with 417 additions and 541 deletions
-6
View File
@@ -13,7 +13,6 @@ import (
//counterfeiter:generate . ObjectStore
type ObjectStore interface {
ServiceStore
EgressStore
// enable locking on a specific room to prevent race
// returns a (lock uuid, error)
@@ -36,11 +35,6 @@ type ServiceStore interface {
LoadParticipant(ctx context.Context, roomName livekit.RoomName, identity livekit.ParticipantIdentity) (*livekit.ParticipantInfo, error)
ListParticipants(ctx context.Context, roomName livekit.RoomName) ([]*livekit.ParticipantInfo, error)
}
//counterfeiter:generate . EgressStore
type EgressStore interface {
LoadRoom(ctx context.Context, name livekit.RoomName) (*livekit.Room, error)
StoreEgress(ctx context.Context, info *livekit.EgressInfo) error
LoadEgress(ctx context.Context, egressID string) (*livekit.EgressInfo, error)