Changeset 3862
- Timestamp:
- Oct 26, 2011 8:00:28 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip-apps/src/pjsua/pjsua_app.c
r3852 r3862 5587 5587 /* Add TCP transport unless it's disabled */ 5588 5588 if (!app_config.no_tcp) { 5589 pjsua_acc_id aid; 5590 5589 5591 status = pjsua_transport_create(PJSIP_TRANSPORT_TCP, 5590 5592 &tcp_cfg, … … 5595 5597 /* Add local account */ 5596 5598 pjsua_acc_add_local(transport_id, PJ_TRUE, NULL); 5599 if (PJMEDIA_HAS_VIDEO) { 5600 pjsua_acc_config acc_cfg; 5601 pjsua_acc_get_config(aid, &acc_cfg); 5602 app_config_init_video(&acc_cfg); 5603 pjsua_acc_modify(aid, &acc_cfg); 5604 } 5597 5605 pjsua_acc_set_online_status(current_acc, PJ_TRUE); 5598 5606 … … 5622 5630 /* Add local account */ 5623 5631 pjsua_acc_add_local(transport_id, PJ_FALSE, &acc_id); 5632 if (PJMEDIA_HAS_VIDEO) { 5633 pjsua_acc_config acc_cfg; 5634 pjsua_acc_get_config(acc_id, &acc_cfg); 5635 app_config_init_video(&acc_cfg); 5636 pjsua_acc_modify(acc_id, &acc_cfg); 5637 } 5624 5638 pjsua_acc_set_online_status(acc_id, PJ_TRUE); 5625 5639 }
Note: See TracChangeset
for help on using the changeset viewer.