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

Function configuredNetworkTypes

gather.go:36–42  ·  view source on GitHub ↗
(networkTypes []NetworkType)

Source from the content-addressed store, hash-verified

34}
35
36func configuredNetworkTypes(networkTypes []NetworkType) []NetworkType {
37 if len(networkTypes) == 0 {
38 return supportedNetworkTypes()
39 }
40
41 return networkTypes
42}
43
44func effectiveURLProtoType(url stun.URI) stun.ProtoType {
45 if url.Proto != stun.ProtoTypeUnknown {

Callers 4

turnNetworkTypesForURLFunction · 0.85
addRemoteCandidateMethod · 0.85

Calls 1

supportedNetworkTypesFunction · 0.85

Tested by 1

Used in the wild real call sites across dependent graphs

searching dependent graphs…