Ignore:
Timestamp:
Feb 9, 2006 1:26:14 AM (18 years ago)
Author:
bennylp
Message:

Done media integration in pjsua. Needs to do actual voice testing

File:
1 edited

Legend:

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

    r140 r163  
    4040                        *neg_remote_sdp;    /**< Temporary remote SDP.       */ 
    4141}; 
     42 
     43static const char *state_str[] =  
     44{ 
     45    "STATE_NULL", 
     46    "STATE_LOCAL_OFFER", 
     47    "STATE_REMOTE_OFFER", 
     48    "STATE_WAIT_NEGO", 
     49    "STATE_DONE", 
     50}; 
     51 
     52/* 
     53 * Get string representation of negotiator state. 
     54 */ 
     55PJ_DEF(const char*) pjmedia_sdp_neg_state_str(pjmedia_sdp_neg_state state) 
     56{ 
     57    if (state >=0 && state < PJ_ARRAY_SIZE(state_str)) 
     58        return state_str[state]; 
     59 
     60    return "<?UNKNOWN?>"; 
     61} 
    4262 
    4363 
Note: See TracChangeset for help on using the changeset viewer.