MCPcopy Create free account
hub / github.com/pion/ice / newRelayRemote

Function newRelayRemote

utils_test.go:63–78  ·  view source on GitHub ↗
(t *testing.T)

Source from the content-addressed store, hash-verified

61}
62
63func newRelayRemote(t *testing.T) *CandidateRelay {
64 t.Helper()
65
66 relayConfig := &CandidateRelayConfig{
67 Network: "udp",
68 Address: "1.2.3.4",
69 Port: 12340,
70 Component: 1,
71 RelAddr: "4.3.2.1",
72 RelPort: 43210,
73 }
74 relayRemote, err := NewCandidateRelay(relayConfig)
75 require.NoError(t, err)
76
77 return relayRemote
78}
79
80func newHostLocal(t *testing.T) *CandidateHost {
81 t.Helper()

Callers 2

makeCandidatePairFunction · 0.85

Calls 1

NewCandidateRelayFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…