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

Function newHostLocal

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

Source from the content-addressed store, hash-verified

78}
79
80func newHostLocal(t *testing.T) *CandidateHost {
81 t.Helper()
82
83 localHostConfig := &CandidateHostConfig{
84 Network: "udp",
85 Address: "192.168.1.1",
86 Port: 19216,
87 Component: 1,
88 }
89 hostLocal, err := NewCandidateHost(localHostConfig)
90 require.NoError(t, err)
91
92 return hostLocal
93}

Calls 1

NewCandidateHostFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…