Changeset 3521 for pjproject


Ignore:
Timestamp:
Apr 11, 2011 7:59:09 PM (14 years ago)
Author:
nanang
Message:

Re #1201: Added SDP c= line in session level copied from the c=line of the first media, for compatibility purpose.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/branches/projects/2.0-dev/pjsip/src/pjsua-lib/pjsua_media.c

    r3520 r3521  
    17211721            return status; 
    17221722        } 
     1723 
     1724        /* Copy c= line of the first media to session level, 
     1725         * if there's none. 
     1726         */ 
     1727        if (sdp->conn == NULL) { 
     1728            sdp->conn = pjmedia_sdp_conn_clone(pool, m->conn); 
     1729        } 
    17231730    } 
    17241731 
Note: See TracChangeset for help on using the changeset viewer.