Changeset 2998 for pjproject/trunk/pjsip/include/pjsip/sip_transport_tls.h
- Timestamp:
- Nov 9, 2009 8:51:34 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsip/sip_transport_tls.h
r2394 r2998 28 28 #include <pjsip/sip_transport.h> 29 29 #include <pj/string.h> 30 #include <pj/sock_qos.h> 30 31 31 32 … … 161 162 pj_time_val timeout; 162 163 164 /** 165 * QoS traffic type to be set on this transport. When application wants 166 * to apply QoS tagging to the transport, it's preferable to set this 167 * field rather than \a qos_param fields since this is more portable. 168 * 169 * Default value is PJ_QOS_TYPE_BEST_EFFORT. 170 */ 171 pj_qos_type qos_type; 172 173 /** 174 * Set the low level QoS parameters to the transport. This is a lower 175 * level operation than setting the \a qos_type field and may not be 176 * supported on all platforms. 177 * 178 * By default all settings in this structure are disabled. 179 */ 180 pj_qos_params qos_params; 181 182 /** 183 * Specify if the transport should ignore any errors when setting the QoS 184 * traffic type/parameters. 185 * 186 * Default: PJ_TRUE 187 */ 188 pj_bool_t qos_ignore_error; 189 163 190 } pjsip_tls_setting; 164 191 … … 172 199 { 173 200 pj_memset(tls_opt, 0, sizeof(*tls_opt)); 201 tls_opt->qos_type = PJ_QOS_TYPE_BEST_EFFORT; 202 tls_opt->qos_ignore_error = PJ_TRUE; 174 203 } 175 204
Note: See TracChangeset
for help on using the changeset viewer.