Changeset 5649 for pjproject/trunk/pjsip/src/pjsua2/account.cpp
- Timestamp:
- Sep 15, 2017 5:32:08 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua2/account.cpp
r5636 r5649 300 300 NODE_WRITE_UNSIGNED( this_node, startKeyframeInterval); 301 301 } 302 /////////////////////////////////////////////////////////////////////////////// 303 304 void AccountIpChangeConfig::readObject(const ContainerNode &node) throw(Error) 305 { 306 ContainerNode this_node = node.readContainer("AccountIpChangeConfig"); 307 308 NODE_READ_BOOL ( this_node, shutdownTp); 309 NODE_READ_BOOL ( this_node, hangupCalls); 310 NODE_READ_UNSIGNED( this_node, reinviteFlags); 311 } 312 313 void AccountIpChangeConfig::writeObject(ContainerNode &node) const throw(Error) 314 { 315 ContainerNode this_node = node.writeNewContainer("AccountIpChangeConfig"); 316 317 NODE_WRITE_BOOL ( this_node, shutdownTp); 318 NODE_WRITE_BOOL ( this_node, hangupCalls); 319 NODE_WRITE_UNSIGNED( this_node, reinviteFlags); 320 } 302 321 303 322 /////////////////////////////////////////////////////////////////////////////// … … 446 465 ret.vid_stream_sk_cfg.count = videoConfig.startKeyframeCount; 447 466 ret.vid_stream_sk_cfg.interval = videoConfig.startKeyframeInterval; 467 468 // AccountIpChangeConfig 469 ret.ip_change_cfg.shutdown_tp = ipChangeConfig.shutdownTp; 470 ret.ip_change_cfg.hangup_calls = ipChangeConfig.hangupCalls; 471 ret.ip_change_cfg.reinvite_flags = ipChangeConfig.reinviteFlags; 448 472 } 449 473 … … 615 639 videoConfig.startKeyframeCount = prm.vid_stream_sk_cfg.count; 616 640 videoConfig.startKeyframeInterval = prm.vid_stream_sk_cfg.interval; 641 642 // AccountIpChangeConfig 643 ipChangeConfig.shutdownTp = PJ2BOOL(prm.ip_change_cfg.shutdown_tp); 644 ipChangeConfig.hangupCalls = PJ2BOOL(prm.ip_change_cfg.hangup_calls); 645 ipChangeConfig.reinviteFlags = prm.ip_change_cfg.reinvite_flags; 617 646 } 618 647
Note: See TracChangeset
for help on using the changeset viewer.