Changeset 211


Ignore:
Timestamp:
Feb 21, 2006 11:45:06 PM (18 years ago)
Author:
bennylp
Message:

Fixed crashed bug when sound is closed, and added msg when port is (dis)connected

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/src/pjmedia/conference.c

    r205 r211  
    363363 
    364364    suspend_sound(conf); 
    365  
    366     pj_snd_stream_close(conf->snd_rec); 
    367     conf->snd_rec = NULL; 
    368     pj_snd_stream_close(conf->snd_player); 
    369     conf->snd_player = NULL; 
     365    destroy_sound(conf); 
    370366 
    371367    return PJ_SUCCESS; 
     
    476472            resume_sound(conf); 
    477473 
    478         PJ_LOG(5,(THIS_FILE,"Port %.*s transmitting to port %.*s", 
     474        PJ_LOG(4,(THIS_FILE,"Port %.*s transmitting to port %.*s", 
    479475                  (int)src_port->name.slen, 
    480476                  src_port->name.ptr, 
     
    511507        --conf->connect_cnt; 
    512508 
    513         PJ_LOG(5,(THIS_FILE,"Port %.*s stop transmitting to port %.*s", 
     509        PJ_LOG(4,(THIS_FILE,"Port %.*s stop transmitting to port %.*s", 
    514510                  (int)src_port->name.slen, 
    515511                  src_port->name.ptr, 
Note: See TracChangeset for help on using the changeset viewer.