Egress (#455)
* egress updates * pass egressInfo to delete * update typefakes * export StartEgress * update protocol * new rpc, rename stores * add json tag * update tests * update protocol
This commit is contained in:
+1
-1
@@ -109,7 +109,7 @@ func NewTurnServer(conf *config.Config, authHandler turn.AuthHandler) (*turn.Ser
|
||||
return turn.NewServer(serverConfig)
|
||||
}
|
||||
|
||||
func newTurnAuthHandler(roomStore RoomStore) turn.AuthHandler {
|
||||
func newTurnAuthHandler(roomStore ObjectStore) turn.AuthHandler {
|
||||
return func(username, realm string, srcAddr net.Addr) (key []byte, ok bool) {
|
||||
// room id should be the username, create a hashed room id
|
||||
rm, err := roomStore.LoadRoom(context.Background(), livekit.RoomName(username))
|
||||
|
||||
Reference in New Issue
Block a user