protocol 0.8 (#95)

* protocol 0.8

* merge new selector
This commit is contained in:
David Colburn
2021-08-27 13:16:33 -05:00
committed by GitHub
parent c437152e2b
commit 8a44fad307
57 changed files with 89 additions and 199 deletions
+2 -2
View File
@@ -12,6 +12,8 @@ import (
"time"
"github.com/gorilla/websocket"
livekit "github.com/livekit/protocol/proto"
"github.com/livekit/protocol/utils"
"github.com/pion/rtcp"
"github.com/pion/rtp"
"github.com/pion/webrtc/v3"
@@ -21,8 +23,6 @@ import (
"github.com/livekit/livekit-server/pkg/logger"
"github.com/livekit/livekit-server/pkg/rtc"
livekit "github.com/livekit/livekit-server/proto"
"github.com/livekit/protocol/utils"
)
type RTCClient struct {
+1 -1
View File
@@ -10,6 +10,7 @@ import (
"github.com/go-redis/redis/v8"
"github.com/livekit/protocol/auth"
livekit "github.com/livekit/protocol/proto"
"github.com/livekit/protocol/utils"
"github.com/twitchtv/twirp"
@@ -18,7 +19,6 @@ import (
"github.com/livekit/livekit-server/pkg/routing"
"github.com/livekit/livekit-server/pkg/service"
"github.com/livekit/livekit-server/pkg/testutils"
livekit "github.com/livekit/livekit-server/proto"
testclient "github.com/livekit/livekit-server/test/client"
)
+3 -2
View File
@@ -4,9 +4,10 @@ import (
"testing"
"time"
"github.com/livekit/livekit-server/pkg/testutils"
livekit "github.com/livekit/livekit-server/proto"
livekit "github.com/livekit/protocol/proto"
"github.com/stretchr/testify/require"
"github.com/livekit/livekit-server/pkg/testutils"
)
func TestMultiNodeRouting(t *testing.T) {
+2 -3
View File
@@ -6,15 +6,14 @@ import (
"testing"
"time"
livekit "github.com/livekit/protocol/proto"
"github.com/livekit/protocol/utils"
"github.com/pion/turn/v2"
"github.com/stretchr/testify/require"
"github.com/livekit/protocol/utils"
"github.com/livekit/livekit-server/pkg/config"
"github.com/livekit/livekit-server/pkg/routing"
"github.com/livekit/livekit-server/pkg/service"
livekit "github.com/livekit/livekit-server/proto"
)
func testTurnServer(t *testing.T) {
+7 -6
View File
@@ -8,17 +8,18 @@ import (
"sync"
"testing"
"github.com/livekit/protocol/auth"
livekit "github.com/livekit/protocol/proto"
"github.com/livekit/protocol/utils"
"github.com/livekit/protocol/webhook"
"github.com/stretchr/testify/require"
"google.golang.org/protobuf/encoding/protojson"
"github.com/livekit/livekit-server/pkg/config"
"github.com/livekit/livekit-server/pkg/logger"
"github.com/livekit/livekit-server/pkg/routing"
"github.com/livekit/livekit-server/pkg/service"
"github.com/livekit/livekit-server/pkg/testutils"
livekit "github.com/livekit/livekit-server/proto"
"github.com/livekit/protocol/auth"
"github.com/livekit/protocol/utils"
"github.com/livekit/protocol/webhook"
"github.com/stretchr/testify/require"
"google.golang.org/protobuf/encoding/protojson"
)
func TestWebhooks(t *testing.T) {