IceCandidateTransportType

The enumeration categorizes the possible transport types of the ICE candidates used when creating the peer connection. By using value different then IceCandidateTransportType.ALL it is possible to filter some of the generated ICE candidates out.

Entries

Link copied to clipboard

Allows to use only ICE candidates that are using a relay server (such as a TURN server) to route the traffic.

Link copied to clipboard

Filters all the HOST ICE candidates out. This can be used to improve privacy as no local IP addresses of device (i.e. the ones that are not accessible by STUN server or other peer) are exposed.

Link copied to clipboard

Allows to use every generated ICE candidate. This is the default value.

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
Link copied to clipboard