The type of a candidate.
More...
|
| Host =(1) |
| Indicates a 'host' candidate, discovered by querying a local network interface adapter. More...
|
|
| ServerReflexive =(2) |
| Indicates a 'srflx' candidate, discovered by using a STUN server to echo back the source IP address it sees in a UDP binding request. More...
|
|
| Relayed =(3) |
| 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. More...
|
|
| PeerReflexive =(4) |
| Indicates a 'prflx' candidate, discovered by sending STUN connectivity checks between peers residing behind more restrictive firewalls. More...
|
|
| Unknown =(5) |
| Indicates an unknown candidate type. More...
|
|
◆ CandidateType()
fm.liveswitch.CandidateType.CandidateType |
( |
int |
value | ) |
|
◆ [static initializer]()
fm.liveswitch.CandidateType.[static initializer] |
|
static |
◆ getAssignedValue()
int fm.liveswitch.CandidateType.getAssignedValue |
( |
| ) |
|
◆ getByAssignedValue()
static CandidateType fm.liveswitch.CandidateType.getByAssignedValue |
( |
int |
value | ) |
|
|
static |
◆ Host
fm.liveswitch.CandidateType.Host =(1) |
Indicates a 'host' candidate, discovered by querying a local network interface adapter.
The candidate should contain a private IP address of this client.
◆ PeerReflexive
fm.liveswitch.CandidateType.PeerReflexive =(4) |
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.
◆ Relayed
fm.liveswitch.CandidateType.Relayed =(3) |
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.
◆ ServerReflexive
fm.liveswitch.CandidateType.ServerReflexive =(2) |
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.
◆ Unknown
fm.liveswitch.CandidateType.Unknown =(5) |
Indicates an unknown candidate type.