Changeset 1810 for pjproject/trunk/pjmedia/include/pjmedia/transport.h
- Timestamp:
- Feb 21, 2008 10:08:27 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/include/pjmedia/transport.h
r1763 r1810 213 213 typedef struct pjmedia_transport pjmedia_transport; 214 214 215 /** 216 * This enumeration specifies the general behaviour of media processing 217 */ 218 typedef enum pjmedia_tranport_media_option 219 { 220 /** 221 * When this flag is specified, the transport will not perform media 222 * transport validation, this is useful when transport is stacked with 223 * other transport, for example when transport UDP is stacked under 224 * transport SRTP, media transport validation only need to be done by 225 * transport SRTP. 226 */ 227 PJMEDIA_TPMED_NO_TRANSPORT_CHECKING = 1 228 229 } pjmedia_tranport_media_option; 215 230 216 231 /** … … 293 308 pj_status_t (*media_create)(pjmedia_transport *tp, 294 309 pj_pool_t *pool, 310 unsigned options, 295 311 pjmedia_sdp_session *sdp_local, 296 312 const pjmedia_sdp_session *sdp_remote, … … 509 525 * @param tp The media transport. 510 526 * @param pool The memory pool. 527 * @param option Option flags, from #pjmedia_tranport_media_option 511 528 * @param sdp_local Local SDP. 512 529 * @param sdp_remote Remote SDP. … … 517 534 PJ_INLINE(pj_status_t) pjmedia_transport_media_create(pjmedia_transport *tp, 518 535 pj_pool_t *pool, 536 unsigned options, 519 537 pjmedia_sdp_session *sdp_local, 520 538 const pjmedia_sdp_session *sdp_remote, 521 539 unsigned media_index) 522 540 { 523 return (*tp->op->media_create)(tp, pool, sdp_local, sdp_remote,541 return (*tp->op->media_create)(tp, pool, options, sdp_local, sdp_remote, 524 542 media_index); 525 543 } … … 541 559 * @param tp The media transport. 542 560 * @param pool The memory pool. 561 * @param option The media transport option. 543 562 * @param sdp_local Local SDP. 544 563 * @param sdp_remote Remote SDP.
Note: See TracChangeset
for help on using the changeset viewer.