use dedicated PeerConnections for sending and receiving (#19)

* protobuf updates to support new protocol

* use dedicated publish & subscribe peerconnections

* update client to work with dedicated PCs

* fix Go client negotiation, reduced length of UUID
This commit is contained in:
David Zhao
2021-02-12 22:30:31 -08:00
committed by GitHub
parent fe497a3cc1
commit 090f8d0664
18 changed files with 780 additions and 1881 deletions
+1 -3
View File
@@ -32,6 +32,7 @@ func TestMultiNodeRouting(t *testing.T) {
c1 := createRTCClient("c1", defaultServerPort)
c2 := createRTCClient("c2", secondServerPort)
waitUntilConnected(t, c1, c2)
defer stopClients(c1, c2)
// c1 publishing, and c2 receiving
t1, err := c1.AddStaticTrack("audio/opus", "audio", "webcam")
@@ -54,9 +55,6 @@ func TestMultiNodeRouting(t *testing.T) {
return true
})
c1.Stop()
c2.Stop()
// TODO: delete room explicitly and ensure it's closed
//
//// ensure that room is closed