A class for setting custom ICE configuration.
More...
A class for setting custom ICE configuration.
This is used for the configurable TURN feature. Pass this in as the iceConfig
parameter of the OpenTok.Session.Session(Context, string, string, bool, Uri, bool, Uri, IceConfig) constructor.
◆ IceConfig()
The constructor for IceConfig object passed into the OpenTok.Session.Session(Context, string, string, bool, Uri, bool, Uri, IceConfig) constructor.
- Parameters
-
customIceServers | A list of IceServer objects, representing custom TURN servers to be used by the client. |
transportPolicy | Whether to use all ICE transport types (such as host, srflx, and TURN) to establish media connectivity or to only use TURN. |
includeServers | Whether to use only the custom servers or both Vonage Video API servers and the custom servers. |
◆ CustomIceServers
List<IceServer> OpenTok.IceConfig.CustomIceServers |
|
The list of IceServer objects, representing custom TURN servers to be used by the client.
◆ IncludeServers
Whether to use only the custom servers or both Vonage Video API servers and the custom servers.
◆ TransportPolicy
Whether to use all ICE transport types (such as host, srflx, and TURN) to establish media connectivity or to only use TURN.