nabto_device_ice_servers_request_get_username()
DESCRIPTION
Get the username of an ICE server from its index.
If the ICE server at the index is a STUN server, the username is NULL. The username is freed with the request.
DECLARATION
NABTO_DEVICE_DECL_PREFIX const char* NABTO_DEVICE_API
nabto_device_ice_servers_request_get_username(NabtoDeviceIceServersRequest* request, size_t index)
PARAMETERS
request:
- [in] The request to get the ICE server from
index:
- [in] Index of the ICE server to get the username of.
RETURNS
The username for a TURN server, or NULL for a STUN server.