otc_custom_ice_config
ICE server configuration.
This struct represents the ICE server configuration for a given session. This is part of the configurable TURN feature.
Properties
| Name | Type | Description |
|---|---|---|
num_ice_servers |
int | The number of custom TURN servers used. |
ice_url |
char * * | An array of strings specifying your ICE server URLs. |
ice_user |
char * * | An array of strings specifying specifying usernames for the TURN servers. |
ice_credential |
char * * | An array of credentials for the TURN servers. |
force_turn |
otc_bool | Whether the client will force connectivity through TURN always and ignore all other ICE candidates (OTC_TRUE). When set to OTC_FALSE, the client will use all ICE routing types (such as host, srflx, and TURN) to establish media connectivity. |
use_custom_turn_only |
otc_bool | Whether the client will use custom TURN servers only (OTC_TRUE). When set to OTC_FALSE, the client will use both OpenTok TURN servers and (if any are added) custom TURN servers. |
filter_out_lan_candidates |
otc_bool | Whether the client will filter out/remove host ICE candidate type in the same LAN to establish media connectivity (OTC_TRUE). When set to OTC_FALSE, the client will use host ICE candidate type in the same LAN too. |