Changeset 1591


Ignore:
Timestamp:
11/21/07 08:50:07 (11 years ago)
Author:
bennylp
Message:

Ticket #14: Don't change RTP/RTCP SSRC on re-INVITE

Location:
pjproject/trunk/pjsip
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjsip/include/pjsua-lib/pjsua_internal.h

    r1536 r1591  
    4747    pjmedia_dir          media_dir; /**< Media direction.                   */ 
    4848    pjmedia_session     *session;   /**< The media session.                 */ 
     49    pj_uint32_t          ssrc;      /**< RTP SSRC                           */ 
    4950    int                  conf_slot; /**< Slot # in conference bridge.       */ 
    5051    pjsip_evsub         *xfer_sub;  /**< Xfer server subscription, if this 
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c

    r1562 r1591  
    105105    call->user_data = NULL; 
    106106    call->session = NULL; 
     107    call->ssrc = pj_rand(); 
    107108    call->xfer_sub = NULL; 
    108109    call->last_code = (pjsip_status_code) 0; 
  • pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c

    r1545 r1591  
    956956        sess_info.stream_info[0].jb_max_pre = pjsua_var.media_cfg.jb_max_pre; 
    957957        sess_info.stream_info[0].jb_max = pjsua_var.media_cfg.jb_max; 
     958 
     959        /* Set SSRC */ 
     960        sess_info.stream_info[0].ssrc = call->ssrc; 
    958961 
    959962        /* Create session based on session info. */ 
Note: See TracChangeset for help on using the changeset viewer.