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

Function mustCandidateRelayWithExtensions

candidate_test.go:312–325  ·  view source on GitHub ↗
(
	t *testing.T,
	conf *CandidateRelayConfig,
	extensions []CandidateExtension,
)

Source from the content-addressed store, hash-verified

310}
311
312func mustCandidateRelayWithExtensions(
313 t *testing.T,
314 conf *CandidateRelayConfig,
315 extensions []CandidateExtension,
316) Candidate {
317 t.Helper()
318
319 cand, err := NewCandidateRelay(conf)
320 require.NoError(t, err)
321
322 cand.setExtensions(extensions)
323
324 return cand
325}
326
327func mustCandidateServerReflexive(t *testing.T, conf *CandidateServerReflexiveConfig) Candidate {
328 t.Helper()

Callers 1

Calls 2

NewCandidateRelayFunction · 0.85
setExtensionsMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…