* 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:
David Colburn
2022-02-24 14:57:14 -08:00
committed by GitHub
parent b7aac6cb6b
commit 20f21cce2b
28 changed files with 1952 additions and 507 deletions
+1 -1
View File
@@ -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))