Interface updates (#194)

* update interfaces, a bit of cleaning

* regenerate

* return interface for RoomService

* export packetBufferSize

* update router interface

* move participant key into router

* change locks back

* read only room store

* fix server rm locks

* update SendJoinResponse

* clean up imports

* update room messaging

* regenerate
This commit is contained in:
David Colburn
2021-11-15 15:25:50 -06:00
committed by GitHub
parent ffb2c50a70
commit 95e29d3766
17 changed files with 340 additions and 333 deletions
+2 -2
View File
@@ -20,14 +20,14 @@ import (
)
type RTCService struct {
router routing.Router
router routing.MessageRouter
roomAllocator RoomAllocator
upgrader websocket.Upgrader
currentNode routing.LocalNode
isDev bool
}
func NewRTCService(conf *config.Config, ra RoomAllocator, router routing.Router, currentNode routing.LocalNode) *RTCService {
func NewRTCService(conf *config.Config, ra RoomAllocator, router routing.MessageRouter, currentNode routing.LocalNode) *RTCService {
s := &RTCService{
router: router,
roomAllocator: ra,