|
Vonage Video API macOS SDK
|
#include <>
Data Fields | |
| int | num_ice_servers |
| char ** | ice_url |
| char ** | ice_user |
| char ** | ice_credential |
| otc_bool | force_turn |
| otc_bool | use_custom_turn_only |
| otc_bool | filter_out_lan_candidates |
ICE server configuration.
This struct represents the ICE server configuration for a given session. This is part of the configurable TURN feature.
| otc_bool filter_out_lan_candidates |
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.
| otc_bool force_turn |
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.
| char** ice_credential |
An array of credentials for the TURN servers.
| char** ice_url |
An array of strings specifying your ICE server URLs.
| char** ice_user |
An array of strings specifying specifying usernames for the TURN servers.
| int num_ice_servers |
The number of custom TURN servers used.
| otc_bool use_custom_turn_only |
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.