From 70332e3510b79fd5912fa8b6ed8ec8424c4c7439 Mon Sep 17 00:00:00 2001 From: Fil <137893571+filNaj@users.noreply.github.com> Date: Mon, 11 Mar 2024 22:28:42 -0400 Subject: [PATCH] Rephrase some type definitions in the docs for a better understanding (#3880) --- pjnath/include/pjnath/turn_sock.h | 4 ++-- pjsip/include/pjsua-lib/pjsua.h | 13 ++++++------- pjsip/include/pjsua2/siptypes.hpp | 5 ++--- 3 files changed, 10 insertions(+), 12 deletions(-) diff --git a/pjnath/include/pjnath/turn_sock.h b/pjnath/include/pjnath/turn_sock.h index 46f39e4eb..3169c2c53 100644 --- a/pjnath/include/pjnath/turn_sock.h +++ b/pjnath/include/pjnath/turn_sock.h @@ -355,8 +355,8 @@ typedef struct pj_turn_sock_cfg unsigned so_sndbuf_size; /** - * This specifies TLS settings for TLS transport. It is only be used - * when this TLS is used to connect to the TURN server. + * This specifies TLS settings for TLS transport. It's only applicable when + * TLS is used to connect to the TURN server. */ pj_turn_sock_tls_cfg tls_cfg; diff --git a/pjsip/include/pjsua-lib/pjsua.h b/pjsip/include/pjsua-lib/pjsua.h index d241822e5..e8d91d11e 100644 --- a/pjsip/include/pjsua-lib/pjsua.h +++ b/pjsip/include/pjsua-lib/pjsua.h @@ -3205,9 +3205,8 @@ typedef struct pjsua_transport_config pj_str_t bound_addr; /** - * This specifies TLS settings for TLS transport. It is only be used - * when this transport config is being used to create a SIP TLS - * transport. + * This specifies TLS settings for TLS transport. + * It’s only used when creating a SIP TLS transport. */ pjsip_tls_setting tls_setting; @@ -3796,8 +3795,8 @@ typedef struct pjsua_turn_config pj_stun_auth_cred turn_auth_cred; /** - * This specifies TLS settings for TURN TLS. It is only be used - * when this TLS is used to connect to the TURN server. + * This specifies TLS settings for TURN TLS. It’s only applicable when + * TLS is used to connect to the TURN server. */ pj_turn_sock_tls_cfg turn_tls_setting; @@ -7394,8 +7393,8 @@ struct pjsua_media_config pj_stun_auth_cred turn_auth_cred; /** - * This specifies TLS settings for TLS transport. It is only be used - * when this TLS is used to connect to the TURN server. + * This specifies TLS settings for TLS transport. It’s only applicable + * when TLS is used to connect to the TURN server. */ pj_turn_sock_tls_cfg turn_tls_setting; diff --git a/pjsip/include/pjsua2/siptypes.hpp b/pjsip/include/pjsua2/siptypes.hpp index 7b7c079a4..3ad30007f 100644 --- a/pjsip/include/pjsua2/siptypes.hpp +++ b/pjsip/include/pjsua2/siptypes.hpp @@ -376,9 +376,8 @@ struct TransportConfig : public PersistentObject string boundAddress; /** - * This specifies TLS settings for TLS transport. It is only be used - * when this transport config is being used to create a SIP TLS - * transport. + * This specifies TLS settings for TLS transport. + * It’s only used when creating a SIP TLS transport. */ TlsConfig tlsConfig;