Ignore:
Timestamp:
Mar 12, 2009 6:11:37 PM (14 years ago)
Author:
bennylp
Message:

(Major) Task #737 and #738: integration of APS-Direct and Audiodev from aps-direct branch to trunk.

Location:
pjproject/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk

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

    r2394 r2506  
    371371    PJSUA_LOCK(); 
    372372 
    373     /* Create sound port if none is instantiated */ 
    374     if (pjsua_var.snd_port==NULL && pjsua_var.null_snd==NULL &&  
    375         !pjsua_var.no_snd)  
     373    /* Create sound port if none is instantiated, to check if sound device 
     374     * can be used. But only do this with the conference bridge, as with  
     375     * audio switchboard (i.e. APS-Direct), we can only open the sound  
     376     * device once the correct format has been known 
     377     */ 
     378    if (!pjsua_var.is_mswitch && pjsua_var.snd_port==NULL &&  
     379        pjsua_var.null_snd==NULL && !pjsua_var.no_snd)  
    376380    { 
    377381        pj_status_t status; 
Note: See TracChangeset for help on using the changeset viewer.