Changeset 4345 for pjproject/trunk/pjmedia/include/pjmedia/transport.h
- Timestamp:
- Feb 13, 2013 7:43:32 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/transport.h
r3664 r4345 567 567 * 568 568 * @param tp The transport. 569 * @param info Media socket info to be initialized.569 * @param info Media transport info to be initialized. 570 570 * 571 571 * @return PJ_SUCCESS on success. … … 578 578 579 579 return PJ_ENOTSUP; 580 } 581 582 583 /** 584 * Utility API to get transport type specific info from the specified media 585 * transport info. 586 * 587 * @param info Media transport info. 588 * @param type Media transport type. 589 * 590 * @return Pointer to media transport specific info, or NULL if 591 * specific info for the transport type is not found. 592 */ 593 PJ_INLINE(void*) pjmedia_transport_info_get_spc_info( 594 pjmedia_transport_info *info, 595 pjmedia_transport_type type) 596 { 597 unsigned i; 598 for (i = 0; i < info->specific_info_cnt; ++i) { 599 if (info->spc_info[i].type == type) 600 return (void*)info->spc_info[i].buffer; 601 } 602 return NULL; 580 603 } 581 604
Note: See TracChangeset
for help on using the changeset viewer.