FMIceLinkCandidateType Constants Reference
Declared in | FMIceLinkCandidateType.h |
---|
FMIceLinkCandidateType
The type of a candidate.
Definition
typedef NS_ENUM(NSInteger, FMIceLinkCandidateType ) {
FMIceLinkCandidateTypeHost = 1,
FMIceLinkCandidateTypeServerReflexive = 2,
FMIceLinkCandidateTypeRelayed = 3,
FMIceLinkCandidateTypePeerReflexive = 4,
FMIceLinkCandidateTypeUnknown = 5,
};
Constants
FMIceLinkCandidateTypeHost
-
Indicates a 'host' candidate, discovered by querying a local network interface adapter. The candidate should contain a private IP address of this client.
Declared In
FMIceLinkCandidateType.h
. FMIceLinkCandidateTypeServerReflexive
-
Indicates a 'srflx' candidate, discovered by using a STUN server to echo back the source IP address it sees in a UDP binding request. When the STUN server is properly configured, the candidate should contain a public IP address of this client.
Declared In
FMIceLinkCandidateType.h
. FMIceLinkCandidateTypeRelayed
-
Indicates a 'relay' candidate, discovered by using a TURN server to set up a public port in response to a UDP or TCP allocate request. When the TURN server is properly configured, the candidate should contain a public IP address of the TURN server.
Declared In
FMIceLinkCandidateType.h
. FMIceLinkCandidateTypePeerReflexive
-
Indicates a 'prflx' candidate, discovered by sending STUN connectivity checks between peers residing behind more restrictive firewalls. The candidate should contain a public IP address of this client.
Declared In
FMIceLinkCandidateType.h
. FMIceLinkCandidateTypeUnknown
-
Indicates an unknown candidate type.
Declared In
FMIceLinkCandidateType.h
.
Declared In
FMIceLinkCandidateType.h