nabto_client_connection_enable_direct_candidates()
DESCRIPTION
Enable direct communication for a connection, using candidates provided by the nabto_client_connection_add_direct_candidate function.
Direct connections is a way to make the client create a connection to a device which can be reached directly with ip communication.
DECLARATION
NABTO_CLIENT_DECL_PREFIX NabtoClientError NABTO_CLIENT_API
nabto_client_connection_enable_direct_candidates(NabtoClientConnection* connection)
PARAMETERS
connection:
- [in] The connection,
RETURN VALUES
NABTO_CLIENT_EC_OK if direct candidates was enabled.
EXAMPLES
None.