Ignore:
Timestamp:
Apr 13, 2011 7:41:41 PM (13 years ago)
Author:
nanang
Message:

Re #1182: Added macro setting PJMEDIA_STREAM_RESV_PAYLOAD_LEN to let stream reserve some space for application extra data in the RTP payload, e.g: SRTP auth tag.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjmedia/include/pjmedia/config.h

    r3500 r3534  
    516516 
    517517/** 
     518 * Reserve some space for application extra data, e.g: SRTP auth tag, 
     519 * in RTP payload, so the total payload length will not exceed the MTU. 
     520 */ 
     521#ifndef PJMEDIA_STREAM_RESV_PAYLOAD_LEN 
     522#   define PJMEDIA_STREAM_RESV_PAYLOAD_LEN      20 
     523#endif 
     524 
     525 
     526/** 
    518527 * Specify the maximum duration of silence period in the codec, in msec.  
    519528 * This is useful for example to keep NAT binding open in the firewall 
Note: See TracChangeset for help on using the changeset viewer.