Room Allocator Interface (#161)

* room allocator interface

* remove wire bind

* fix test
This commit is contained in:
Mathew Kamkar
2021-10-28 21:02:17 -07:00
committed by GitHub
parent 0898c17e8a
commit f3e916e2fe
7 changed files with 26 additions and 21 deletions
+4
View File
@@ -41,3 +41,7 @@ type RoomManager interface {
HasParticipants() bool
Stop()
}
type RoomAllocator interface {
CreateRoom(ctx context.Context, req *livekit.CreateRoomRequest) (*livekit.Room, error)
}