SinchIceCandidateTransportType

public enum SinchIceCandidateTransportType

This enumeration categorizes the possible transport types of the ICE candidates used when creating the peer connection. By using a value different than SinchIceCandidateTransportType.all, it is possible to filter out some of the generated ICE candidates.

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

    Declaration

    Swift

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

    Declaration

    Swift

    case noHost
  • all

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

    Declaration

    Swift

    case all