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
-11
View File
@@ -571,17 +571,6 @@ func (r *LocalRoomManager) notifyEvent(event *livekit.WebhookEvent) {
})
}
func applyDefaultRoomConfig(room *livekit.Room, conf *config.RoomConfig) {
room.EmptyTimeout = conf.EmptyTimeout
room.MaxParticipants = conf.MaxParticipants
for _, codec := range conf.EnabledCodecs {
room.EnabledCodecs = append(room.EnabledCodecs, &livekit.Codec{
Mime: codec.Mime,
FmtpLine: codec.FmtpLine,
})
}
}
func iceServerForStunServers(servers []string) *livekit.ICEServer {
iceServer := &livekit.ICEServer{}
for _, stunServer := range servers {