Ignore:
Timestamp:
Apr 29, 2006 8:31:09 AM (18 years ago)
Author:
bennylp
Message:

Improve codec handling in pjsua cmd-line options, and add URI to call

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c

    r398 r422  
    10481048                                   call->conf_slot, 0); 
    10491049 
    1050     } else if (pjsua.auto_loop && call->inv->role == PJSIP_ROLE_UAS) { 
     1050    } 
     1051    if (pjsua.auto_loop && call->inv->role == PJSIP_ROLE_UAS) { 
    10511052 
    10521053        pjmedia_conf_connect_port( pjsua.mconf, call->conf_slot,  
    10531054                                   call->conf_slot, 0); 
    10541055 
    1055     } else if (pjsua.auto_conf) { 
    1056  
     1056    } 
     1057    if (pjsua.auto_conf) { 
    10571058        int i; 
    10581059 
     
    10711072        } 
    10721073 
    1073     } else { 
    1074  
    1075         /* Connect new call to the sound device port (port zero) in the 
    1076          * main conference bridge. 
    1077          */ 
     1074    }  
     1075     
     1076    /* Normal operation: if no auto_xx is given, connect new call to  
     1077     * the sound device port (port zero) in the main conference bridge. 
     1078     */ 
     1079    if (pjsua.auto_play == 0 && pjsua.auto_loop == 0 && 
     1080        pjsua.auto_conf == 0) 
     1081    { 
    10781082        pjmedia_conf_connect_port( pjsua.mconf, 0, call->conf_slot, 0); 
    10791083        pjmedia_conf_connect_port( pjsua.mconf, call->conf_slot, 0, 0); 
Note: See TracChangeset for help on using the changeset viewer.