mirror of
https://github.com/livekit/livekit.git
synced 2026-04-29 03:55:22 +00:00
for some reasons this wasn't generated before committed. (#974)
This commit is contained in:
@@ -66,9 +66,8 @@ func InitializeServer(conf *config.Config, currentNode routing.LocalNode) (*Live
|
||||
ingressConfig := getIngressConfig(conf)
|
||||
rpc := ingress.NewRedisRPC(nodeID, client)
|
||||
ingressRPCClient := getIngressRPCClient(rpc)
|
||||
rpcServer := getIngressRPCServer(rpc)
|
||||
ingressStore := getIngressStore(objectStore)
|
||||
ingressService := NewIngressService(ingressConfig, ingressRPCClient, rpcServer, ingressStore, roomService, telemetryService)
|
||||
ingressService := NewIngressService(ingressConfig, ingressRPCClient, ingressStore, roomService, telemetryService)
|
||||
rtcService := NewRTCService(conf, roomAllocator, objectStore, router, currentNode)
|
||||
clientConfigurationManager := createClientConfiguration()
|
||||
roomManager, err := NewLocalRoomManager(conf, objectStore, currentNode, router, telemetryService, clientConfigurationManager)
|
||||
@@ -226,10 +225,6 @@ func getIngressRPCClient(rpc ingress.RPC) ingress.RPCClient {
|
||||
return rpc
|
||||
}
|
||||
|
||||
func getIngressRPCServer(rpc ingress.RPC) ingress.RPCServer {
|
||||
return rpc
|
||||
}
|
||||
|
||||
func createClientConfiguration() clientconfiguration.ClientConfigurationManager {
|
||||
return clientconfiguration.NewStaticClientConfigurationManager(clientconfiguration.StaticConfigurations)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user