Changeset 6051
- Timestamp:
- Aug 15, 2019 5:11:41 AM (5 years ago)
- Location:
- pjproject/trunk/pjsip
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/include/pjsua2/account.hpp
r6035 r6051 328 328 public: 329 329 /** 330 * Default constructor 331 */ 332 AccountCallConfig() : holdType(PJSUA_CALL_HOLD_TYPE_DEFAULT), 333 prackUse(PJSUA_100REL_NOT_USED), 334 timerUse(PJSUA_SIP_TIMER_OPTIONAL) 335 {} 336 337 /** 330 338 * Read this object from a container node. 331 339 * … … 689 697 public: 690 698 /** 699 * Default constructor 700 */ 701 AccountNatConfig() : sipStunUse(PJSUA_STUN_USE_DEFAULT), 702 mediaStunUse(PJSUA_STUN_USE_DEFAULT), 703 nat64Opt(PJSUA_NAT64_DISABLED), 704 turnConnType(PJ_TURN_TP_UDP) 705 {} 706 707 /** 691 708 * Read this object from a container node. 692 709 * … … 967 984 968 985 public: 986 /** 987 * Default constructor 988 */ 989 AccountMediaConfig() : srtpUse(PJSUA_DEFAULT_USE_SRTP), 990 ipv6Use(PJSUA_IPV6_DISABLED) 991 {} 992 969 993 /** 970 994 * Read this object from a container node. … … 1074 1098 public: 1075 1099 /** 1100 * Default constructor 1101 */ 1102 AccountVideoConfig() : 1103 rateControlMethod(PJMEDIA_VID_STREAM_RC_SIMPLE_BLOCKING) 1104 {} 1105 1106 /** 1076 1107 * Read this object from a container node. 1077 1108 * … … 1315 1346 1316 1347 public: 1348 /** 1349 * Default constructor 1350 */ 1351 AccountInfo() : regStatus(PJSIP_SC_NULL) 1352 {} 1353 1317 1354 /** Import from pjsip data */ 1318 1355 void fromPj(const pjsua_acc_info &pai); -
pjproject/trunk/pjsip/include/pjsua2/call.hpp
r6026 r6051 516 516 public: 517 517 /** 518 * Default constructor 519 */ 520 CallInfo() : id(PJSUA_INVALID_ID), 521 role(PJSIP_ROLE_UAC), 522 state(PJSIP_INV_STATE_NULL), 523 lastStatusCode(PJSIP_SC_NULL) 524 {} 525 526 /** 518 527 * Convert from pjsip 519 528 */ … … 582 591 583 592 public: 593 /** 594 * Default constructor 595 */ 596 StreamInfo() : type(PJMEDIA_TYPE_NONE), 597 proto(PJMEDIA_TP_PROTO_NONE), 598 dir(PJMEDIA_DIR_NONE) 599 {} 600 584 601 /** 585 602 * Convert from pjsip -
pjproject/trunk/pjsip/include/pjsua2/endpoint.hpp
r6026 r6051 131 131 pj_ssl_cert_name_type type; /**< Name type */ 132 132 string name; /**< The name */ 133 134 public: 135 /** 136 * Default constructor 137 */ 138 SslCertName() : type(PJ_SSL_CERT_NAME_UNKNOWN) 139 {} 133 140 }; 134 141 … … 341 348 */ 342 349 unsigned restartLisDelay; 350 343 351 public: 344 352 /** -
pjproject/trunk/pjsip/include/pjsua2/media.hpp
r6026 r6051 60 60 */ 61 61 pjmedia_type type; 62 63 public: 64 /** 65 * Default constructor 66 */ 67 MediaFormat() : id(0), type(PJMEDIA_TYPE_NONE) 68 {} 62 69 }; 63 70 … … 446 453 */ 447 454 pj_uint32_t sizeSamples; 455 456 public: 457 /** 458 * Default constructor 459 */ 460 AudioMediaPlayerInfo() : formatId(PJMEDIA_FORMAT_L16) 461 {} 448 462 }; 449 463 … … 1984 1998 MediaFormatVideoVector fmt; 1985 1999 2000 public: 2001 /** 2002 * Default constructor 2003 */ 2004 VideoDevInfo() : id(-1), dir(PJMEDIA_DIR_NONE) 2005 {} 2006 1986 2007 /** 1987 2008 * Construct from pjmedia_vid_dev_info. … … 2343 2364 encoder input and decoder 2344 2365 output. */ 2366 public: 2367 /** 2368 * Default constructor 2369 */ 2370 CodecParamInfo() : fmtId(PJMEDIA_FORMAT_L16) 2371 {} 2345 2372 }; 2346 2373 … … 2406 2433 encFmt and decFmt only. */ 2407 2434 2435 public: 2436 /** 2437 * Default constructor 2438 */ 2439 VidCodecParam() : dir(PJMEDIA_DIR_NONE), 2440 packing(PJMEDIA_VID_PACKING_UNKNOWN) 2441 {} 2442 2408 2443 void fromPj(const pjmedia_vid_codec_param ¶m); 2409 2444 … … 2482 2517 public: 2483 2518 /** 2519 * Default constructor 2520 */ 2521 MediaEvent() : type(PJMEDIA_EVENT_NONE) 2522 {} 2523 2524 /** 2484 2525 * Convert from pjsip 2485 2526 */ -
pjproject/trunk/pjsip/include/pjsua2/presence.hpp
r6026 r6051 171 171 172 172 public: 173 /** 174 * Default constructor 175 */ 176 BuddyInfo() : subState(PJSIP_EVSUB_STATE_UNKNOWN), 177 subTermCode(PJSIP_SC_NULL) 178 {} 179 180 173 181 /** Import from pjsip structure */ 174 182 void fromPj(const pjsua_buddy_info &pbi); -
pjproject/trunk/pjsip/src/pjsua2/call.cpp
r6026 r6051 246 246 247 247 CallMediaInfo::CallMediaInfo() 248 : audioConfSlot(PJSUA_INVALID_ID), 248 : type(PJMEDIA_TYPE_NONE), 249 dir(PJMEDIA_DIR_NONE), 250 status(PJSUA_CALL_MEDIA_NONE), 251 audioConfSlot(PJSUA_INVALID_ID), 249 252 videoIncomingWindowId(PJSUA_INVALID_ID), 250 253 videoWindow(PJSUA_INVALID_ID), -
pjproject/trunk/pjsip/src/pjsua2/endpoint.cpp
r6026 r6051 45 45 /////////////////////////////////////////////////////////////////////////////// 46 46 47 TlsInfo::TlsInfo() 48 :empty(true)47 TlsInfo::TlsInfo() : cipher(PJ_TLS_UNKNOWN_CIPHER), 48 empty(true) 49 49 { 50 50 } -
pjproject/trunk/pjsip/src/pjsua2/siptypes.cpp
r6026 r6051 148 148 /////////////////////////////////////////////////////////////////////////////// 149 149 150 TlsConfig::TlsConfig() 150 TlsConfig::TlsConfig() : method(PJSIP_SSL_UNSPECIFIED_METHOD), 151 qosType(PJ_QOS_TYPE_BEST_EFFORT) 151 152 { 152 153 pjsip_tls_setting ts; … … 255 256 /////////////////////////////////////////////////////////////////////////////// 256 257 257 TransportConfig::TransportConfig() 258 TransportConfig::TransportConfig() : qosType(PJ_QOS_TYPE_BEST_EFFORT) 258 259 { 259 260 pjsua_transport_config tc; … … 547 548 548 549 SipTransaction::SipTransaction() 549 : role(PJSIP_ROLE_UAC), statusCode(PJSIP_SC_NULL), state(PJSIP_TSX_STATE_NULL), pjTransaction(NULL) 550 : role(PJSIP_ROLE_UAC), statusCode(PJSIP_SC_NULL), 551 state(PJSIP_TSX_STATE_NULL), pjTransaction(NULL) 550 552 { 551 553 }
Note: See TracChangeset
for help on using the changeset viewer.