Changeset 1301


Ignore:
Timestamp:
May 25, 2007 6:13:55 AM (12 years ago)
Author:
bennylp
Message:

Ticket #298: New API to get the number of ports registered in conference bridge

Location:
pjproject/trunk/pjmedia
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjmedia/include/pjmedia/conference.h

    r974 r1301  
    315315 
    316316/** 
     317 * Get number of ports currently registered to the conference bridge. 
     318 * 
     319 * @param conf          The conference bridge. 
     320 * 
     321 * @return              Number of ports currently registered to the conference 
     322 *                      bridge. 
     323 */ 
     324PJ_DECL(unsigned) pjmedia_conf_get_port_count(pjmedia_conf *conf); 
     325 
     326 
     327/** 
    317328 * Get total number of ports connections currently set up in the bridge. 
    318329 *  
  • pjproject/trunk/pjmedia/src/pjmedia/conference.c

    r1266 r1301  
    969969} 
    970970 
     971/* 
     972 * Get number of ports currently registered to the conference bridge. 
     973 */ 
     974PJ_DEF(unsigned) pjmedia_conf_get_port_count(pjmedia_conf *conf) 
     975{ 
     976    return conf->port_cnt; 
     977} 
    971978 
    972979/* 
Note: See TracChangeset for help on using the changeset viewer.