Changeset 649


Ignore:
Timestamp:
Aug 4, 2006 8:54:37 PM (18 years ago)
Author:
bennylp
Message:

Fixed bug in pjsua_media.c because of recent AEC changes: sound device is not connected anywhere!

File:
1 edited

Legend:

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

    r648 r649  
    973973                             pjsua_var.media_cfg.ec_tail_len); 
    974974 
     975    /* Connect sound port to the bridge */        
     976    status = pjmedia_snd_port_connect(pjsua_var.snd_port,         
     977                                      conf_port );        
     978    if (status != PJ_SUCCESS) {           
     979        pjsua_perror(THIS_FILE, "Unable to connect conference port to " 
     980                                "sound device", status);          
     981        pjmedia_snd_port_destroy(pjsua_var.snd_port);     
     982        pjsua_var.snd_port = NULL;        
     983        return status;    
     984    } 
     985 
    975986    /* Save the device IDs */ 
    976987    pjsua_var.cap_dev = capture_dev; 
Note: See TracChangeset for help on using the changeset viewer.