Skip to content

Commit

Permalink
Rephrase some type definitions in the docs for a better understanding (
Browse files Browse the repository at this point in the history
  • Loading branch information
filNaj authored Mar 12, 2024
1 parent c368025 commit 70332e3
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 12 deletions.
4 changes: 2 additions & 2 deletions pjnath/include/pjnath/turn_sock.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
13 changes: 6 additions & 7 deletions pjsip/include/pjsua-lib/pjsua.h
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down Expand Up @@ -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;

Expand Down
5 changes: 2 additions & 3 deletions pjsip/include/pjsua2/siptypes.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit 70332e3

Please sign in to comment.