Skip to content

Commit

Permalink
can now try undoing mux stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
edaniels committed Mar 26, 2024
1 parent cf79e22 commit 1ec4561
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 21 deletions.
16 changes: 0 additions & 16 deletions mdns_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,10 @@ package ice

import (
"context"
"fmt"
"os"
"regexp"
"testing"
"time"

"github.com/pion/transport/v3/stdnet"
"github.com/pion/transport/v3/test"
"github.com/stretchr/testify/require"
)
Expand All @@ -25,19 +22,6 @@ func TestMulticastDNSOnlyConnection(t *testing.T) {
// Limit runtime in case of deadlocks
defer test.TimeOut(time.Second * 30).Stop()

os.Setenv("PION_LOG_TRACE", "ice,mdns,passive-ice-tcp-mux")

n, err := stdnet.NewNet()
require.NoError(t, err)
localIfcs, localAddrs, err := localInterfaces(n, nil, nil, nil, false)
require.NoError(t, err)
for _, ifc := range localIfcs {
fmt.Println(ifc)
}
for _, ifc := range localAddrs {
fmt.Println(ifc)
}

type testCase struct {
Name string
NetworkTypes []NetworkType
Expand Down
5 changes: 0 additions & 5 deletions transport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ package ice

import (
"context"
"fmt"
"net"
"net/netip"
"sync"
Expand Down Expand Up @@ -178,8 +177,6 @@ func gatherAndExchangeCandidates(aAgent, bAgent *Agent) {
candidates, err := aAgent.GetLocalCandidates()
check(err)

fmt.Println("A CAND", candidates)

for _, c := range candidates {
if addr, parseErr := netip.ParseAddr(c.Address()); parseErr == nil {
if shouldFilterLocationTrackedIP(addr) {
Expand All @@ -193,8 +190,6 @@ func gatherAndExchangeCandidates(aAgent, bAgent *Agent) {

candidates, err = bAgent.GetLocalCandidates()

fmt.Println("B CAND", candidates)

check(err)
for _, c := range candidates {
candidateCopy, copyErr := c.copy()
Expand Down

0 comments on commit 1ec4561

Please sign in to comment.