Update turn (#147)
* more generic turn server * public turn realm name * support turn cert itself in config * remove cert/key from config * double auth handler * generate Co-authored-by: Mathew Kamkar <578302+matkam@users.noreply.github.com>
This commit is contained in:
co-authored by
Mathew Kamkar
parent
43079866a2
commit
1d626ba053
@@ -9,7 +9,6 @@ import (
|
||||
|
||||
"github.com/go-redis/redis/v8"
|
||||
"github.com/google/wire"
|
||||
"github.com/livekit/livekit-server/pkg/routing/selector"
|
||||
"github.com/livekit/protocol/auth"
|
||||
"github.com/livekit/protocol/logger"
|
||||
livekit "github.com/livekit/protocol/proto"
|
||||
@@ -19,6 +18,7 @@ import (
|
||||
|
||||
"github.com/livekit/livekit-server/pkg/config"
|
||||
"github.com/livekit/livekit-server/pkg/routing"
|
||||
"github.com/livekit/livekit-server/pkg/routing/selector"
|
||||
)
|
||||
|
||||
var ServiceSet = wire.NewSet(
|
||||
@@ -35,6 +35,7 @@ var ServiceSet = wire.NewSet(
|
||||
NewRTCService,
|
||||
NewLivekitServer,
|
||||
NewLocalRoomManager,
|
||||
newTurnAuthHandler,
|
||||
NewTurnServer,
|
||||
config.GetAudioConfig,
|
||||
wire.Bind(new(RoomManager), new(*LocalRoomManager)),
|
||||
|
||||
Reference in New Issue
Block a user