OpenTok C SDK
|
#include <session.h>
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 |
ICE server configuration.
This struct represents the ICE server configuration for a given session. This is part of the configurable TURN feature.
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.