- Timestamp:
- Feb 13, 2013 8:20:33 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/1.x/pjmedia/include/pjmedia/transport.h
r3553 r4346 534 534 * 535 535 * @param tp The transport. 536 * @param info Media socket info to be initialized.536 * @param info Media transport info to be initialized. 537 537 * 538 538 * @return PJ_SUCCESS on success. … … 545 545 546 546 return PJ_ENOTSUP; 547 } 548 549 550 /** 551 * Utility API to get transport type specific info from the specified media 552 * transport info. 553 * 554 * @param info Media transport info. 555 * @param type Media transport type. 556 * 557 * @return Pointer to media transport specific info, or NULL if 558 * specific info for the transport type is not found. 559 */ 560 PJ_INLINE(void*) pjmedia_transport_info_get_spc_info( 561 pjmedia_transport_info *info, 562 pjmedia_transport_type type) 563 { 564 unsigned i; 565 for (i = 0; i < info->specific_info_cnt; ++i) { 566 if (info->spc_info[i].type == type) 567 return (void*)info->spc_info[i].buffer; 568 } 569 return NULL; 547 570 } 548 571
Note: See TracChangeset
for help on using the changeset viewer.