refactor - moved common code to livekit/protocol

This commit is contained in:
David Zhao
2021-03-13 22:01:51 -08:00
parent e20c831c14
commit 7d02c01fd8
79 changed files with 6771 additions and 1410 deletions
+2 -2
View File
@@ -21,8 +21,8 @@ import (
"github.com/livekit/livekit-server/pkg/logger"
"github.com/livekit/livekit-server/pkg/rtc"
"github.com/livekit/livekit-server/pkg/utils"
"github.com/livekit/livekit-server/proto/livekit"
livekit "github.com/livekit/livekit-server/proto"
"github.com/livekit/protocol/utils"
)
type RTCClient struct {
+2 -2
View File
@@ -9,9 +9,9 @@ import (
"github.com/urfave/cli/v2"
"github.com/livekit/livekit-server/cmd/cli/client"
"github.com/livekit/livekit-server/pkg/auth"
"github.com/livekit/livekit-server/pkg/logger"
"github.com/livekit/livekit-server/proto/livekit"
livekit "github.com/livekit/livekit-server/proto"
"github.com/livekit/protocol/auth"
)
var (
+1 -1
View File
@@ -10,8 +10,8 @@ import (
"github.com/urfave/cli/v2"
"github.com/livekit/livekit-server/cmd/cli/client"
"github.com/livekit/livekit-server/pkg/auth"
"github.com/livekit/livekit-server/pkg/logger"
"github.com/livekit/protocol/auth"
)
var (
+1 -1
View File
@@ -6,7 +6,7 @@ import (
"github.com/urfave/cli/v2"
"github.com/livekit/livekit-server/pkg/auth"
"github.com/livekit/protocol/auth"
)
var (
+1 -1
View File
@@ -10,7 +10,7 @@ import (
"github.com/urfave/cli/v2"
"github.com/livekit/livekit-server/pkg/auth"
"github.com/livekit/protocol/auth"
)
var (