Ignore:
Timestamp:
Aug 26, 2008 4:51:28 PM (16 years ago)
Author:
nanang
Message:

Ticket #602:

  • Introduced new API pjmedia_rtp_session_init2() to enable intializing RTP session with non-default initial settings
  • Updated stream so it can be created with non-default initial RTP settings.
  • Updated pjsua-lib to make sure RTP timestamp and sequence contigue when stream session is restarted.
File:
1 edited

Legend:

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

    r2236 r2241  
    113113    int                 rx_event_pt;/**< Incoming pt for telephone-events.  */ 
    114114    pj_uint32_t         ssrc;       /**< RTP SSRC.                          */ 
     115    pj_uint32_t         rtp_ts;     /**< Initial RTP timestamp.             */ 
     116    pj_uint16_t         rtp_seq;    /**< Initial RTP sequence number.       */ 
     117    pj_uint8_t          rtp_seq_ts_set; 
     118                                    /**< Bitmask flags if initial RTP sequence  
     119                                         and/or timestamp for sender are set. 
     120                                         bit 0/LSB : sequence flag  
     121                                         bit 1     : timestamp flag         */ 
    115122    int                 jb_init;    /**< Jitter buffer init delay in msec.   
    116123                                         (-1 for default).                  */ 
Note: See TracChangeset for help on using the changeset viewer.