# OTSessionICETransportPolicy Constants Reference

Declared in | OTSession.h

### OTSessionICETransportPolicy

Defines settings for whether to use all ICE transport types (such as host, srflx, and TURN) to establish media connectivity or to only use TURN. Used in the [OTSessionICEConfig transportPolicy] setting.

#### Definition

`typedef NS_ENUM(int32_t, OTSessionICETransportPolicy ) {
OTSessionICETransportAll,
OTSessionICETransportRelay,
};`

#### Constants

`OTSessionICETransportAll`

  The client will use all ICE candidate types (such as host, srflx, and TURN) to establish media connectivity.

  Declared In `OTSession.h`.

`OTSessionICETransportRelay`

  The client will force connectivity through TURN always and ignore all other ICE candidates.

  Declared In `OTSession.h`.

#### Declared In

`OTSession.h`