Fallback to servicestore if rpc is unavailable (#4391)

* Fallback to servicestore if rpc is unavailable

compatibility mode for #4387

* conf
This commit is contained in:
cnderrauber
2026-03-25 11:09:52 +08:00
committed by GitHub
parent 59e9bb41b9
commit 1f1eeb6832
7 changed files with 47 additions and 6 deletions
+2
View File
@@ -54,6 +54,8 @@ type ServiceStore interface {
type OSSServiceStore interface {
DeleteRoom(ctx context.Context, roomName livekit.RoomName) error
HasParticipant(context.Context, livekit.RoomName, livekit.ParticipantIdentity) (bool, error)
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