diff options
-rw-r--r-- | tinyrtc.h | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -52,7 +52,7 @@ struct trtc_peerconn_t; struct trtc_ice_server_t { char credential[TRTC_MAX_ICE_SERVER_CREDENTIAL_SIZE]; - char urls[3][TRTC_MAX_ICE_SERVER_URL_SIZE]; + char urls[TRTC_MAX_ICE_SERVER_URLS][TRTC_MAX_ICE_SERVER_URL_SIZE]; char username[TRTC_MAX_ICE_SERVER_USERNAME_SIZE]; }; @@ -88,6 +88,7 @@ void trtc_init(); * \return Peer connection. NULL if all peer connections are already in use. */ struct trtc_peerconn_t* trtc_peer_connection(struct trtc_config_t cfg); + void trtc_peer_connection_destroy(struct trtc_peerconn_t* pc); /** |