Class RTCIceCandidateStats
Contains statistics for a single ICE candidate.
Inherited Members
Namespace: Unity.WebRTC
Assembly: Unity.WebRTC.dll
Syntax
public class RTCIceCandidateStats : RTCStats
Properties
address
The address of the candidate.
Declaration
public string address { get; }
Property Value
Type | Description |
---|---|
string |
candidateType
The type of the candidate (e.g., "host", "srflx", "prflx", "relay").
Declaration
public string candidateType { get; }
Property Value
Type | Description |
---|---|
string |
foundation
The string which uniquely identifies the candidate.
Declaration
public string foundation { get; }
Property Value
Type | Description |
---|---|
string |
ip
The IP address of the candidate.
Declaration
public string ip { get; }
Property Value
Type | Description |
---|---|
string |
networkAdapterType
The type of network adapter used by the candidate (e.g., "ethernet", "wifi").
Declaration
public string networkAdapterType { get; }
Property Value
Type | Description |
---|---|
string |
networkType
The network type of the candidate (e.g., "wifi", "ethernet").
Declaration
public string networkType { get; }
Property Value
Type | Description |
---|---|
string |
port
The port number of the candidate.
Declaration
public int port { get; }
Property Value
Type | Description |
---|---|
int |
priority
The candidate's priority.
Declaration
public int priority { get; }
Property Value
Type | Description |
---|---|
int |
protocol
The protocol used by the candidate (e.g., "udp", "tcp").
Declaration
public string protocol { get; }
Property Value
Type | Description |
---|---|
string |
relatedAddress
The related address of the candidate, if applicable.
Declaration
public string relatedAddress { get; }
Property Value
Type | Description |
---|---|
string |
relatedPort
The related port of the candidate, if applicable.
Declaration
public int relatedPort { get; }
Property Value
Type | Description |
---|---|
int |
relayProtocol
The transport protocol used by the relay candidate (e.g., "udp", "tcp", "tls").
Declaration
public string relayProtocol { get; }
Property Value
Type | Description |
---|---|
string |
tcpType
The TCP type of the candidate (e.g., "active", "passive", "so").
Declaration
public string tcpType { get; }
Property Value
Type | Description |
---|---|
string |
transportId
Identifier for the transport associated with this candidate.
Declaration
public string transportId { get; }
Property Value
Type | Description |
---|---|
string |
url
The URL of the TURN server used by the candidate, if applicable.
Declaration
public string url { get; }
Property Value
Type | Description |
---|---|
string |
usernameFragment
The username fragment used in ICE negotiation.
Declaration
public string usernameFragment { get; }
Property Value
Type | Description |
---|---|
string |
vpn
Indicates if the candidate is on a VPN.
Declaration
public bool vpn { get; }
Property Value
Type | Description |
---|---|
bool |