Changeset 481 for pjproject/trunk/pjmedia/src/pjmedia/conference.c
- Timestamp:
- May 28, 2006 2:55:22 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/conference.c
r459 r481 193 193 static pj_status_t get_frame(pjmedia_port *this_port, 194 194 pjmedia_frame *frame); 195 static pj_status_t destroy_port(pjmedia_port *this_port); 195 196 196 197 … … 455 456 conf->master_port->get_frame = &get_frame; 456 457 conf->master_port->put_frame = &put_frame; 458 conf->master_port->on_destroy = &destroy_port; 457 459 458 460 conf->master_port->user_data = conf; … … 532 534 533 535 return PJ_SUCCESS; 536 } 537 538 539 /* 540 * Destroy the master port (will destroy the conference) 541 */ 542 static pj_status_t destroy_port(pjmedia_port *this_port) 543 { 544 pjmedia_conf *conf = this_port->user_data; 545 return pjmedia_conf_destroy(conf); 534 546 } 535 547
Note: See TracChangeset
for help on using the changeset viewer.