Ignore:
Timestamp:
Mar 11, 2008 9:38:05 PM (16 years ago)
Author:
bennylp
Message:

Ticket #479: allow media transport framework to return transport specific info (for example, to know whether SRTP is enabled)

File:
1 edited

Legend:

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

    r1859 r1860  
    526526 
    527527/** 
     528 * Transport info (pjmedia_transport_info) contains a socket info and list 
     529 * of transport specific info, since transports can be chained together  
     530 * (for example, SRTP transport uses UDP transport as the underlying  
     531 * transport). This constant specifies maximum number of transport specific 
     532 * infos that can be held in a transport info. 
     533 */ 
     534#ifndef PJMEDIA_TRANSPORT_SPECIFIC_INFO_MAXCNT 
     535#   define PJMEDIA_TRANSPORT_SPECIFIC_INFO_MAXCNT   4 
     536#endif 
     537 
     538 
     539/** 
     540 * Maximum size in bytes of storage buffer of a transport specific info. 
     541 */ 
     542#ifndef PJMEDIA_TRANSPORT_SPECIFIC_INFO_MAXSIZE 
     543#   define PJMEDIA_TRANSPORT_SPECIFIC_INFO_MAXSIZE  (12*sizeof(long)) 
     544#endif 
     545 
     546 
     547 
     548/** 
    528549 * @} 
    529550 */ 
Note: See TracChangeset for help on using the changeset viewer.