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.
NABTO_CLIENT_DECL_PREFIX NabtoClientError NABTO_CLIENT_API nabto_client_connection_enable_direct_candidates(NabtoClientConnection* connection)
- [in] The connection,
NABTO_CLIENT_EC_OK if direct candidates was enabled.