MCPcopy
hub / github.com/livekit/livekit / LoadRoom

Method LoadRoom

pkg/service/interfaces.go:46–46  ·  view source on GitHub ↗
(ctx context.Context, roomName livekit.RoomName, includeInternal bool)

Source from the content-addressed store, hash-verified

44//counterfeiter:generate . ServiceStore
45type ServiceStore interface {
46 LoadRoom(ctx context.Context, roomName livekit.RoomName, includeInternal bool) (*livekit.Room, *livekit.RoomInternal, error)
47 RoomExists(ctx context.Context, roomName livekit.RoomName) (bool, error)
48
49 // ListRooms returns currently active rooms. if names is not nil, it'll filter and return

Callers 4

TestRoomInternalFunction · 0.65
CreateRoomMethod · 0.65
ValidateCreateRoomMethod · 0.65
StartEgressMethod · 0.65

Implementers 4

LocalStorepkg/service/localstore.go
RedisStorepkg/service/redisstore.go
FakeObjectStorepkg/service/servicefakes/fake_object_s
FakeServiceStorepkg/service/servicefakes/fake_service_

Calls

no outgoing calls

Tested by 1

TestRoomInternalFunction · 0.52