Changeset 4245 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
- Timestamp:
- Sep 5, 2012 3:23:01 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r4242 r4245 1878 1878 m->desc.transport = pj_str("RTP/AVP"); 1879 1879 m->desc.fmt_count = 1; 1880 m->conn = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_conn);1881 m->conn->net_type = pj_str("IN");1882 m->conn->addr_type = pj_str("IP4");1883 m->conn->addr = pj_str("127.0.0.1");1884 1880 1885 1881 switch (call_med->type) { … … 1909 1905 break; 1910 1906 } 1907 } 1908 1909 /* Add connection line, if none */ 1910 if (m->conn == NULL && sdp->conn == NULL) { 1911 m->conn = PJ_POOL_ZALLOC_T(pool, pjmedia_sdp_conn); 1912 m->conn->net_type = pj_str("IN"); 1913 m->conn->addr_type = pj_str("IP4"); 1914 m->conn->addr = pj_str("127.0.0.1"); 1911 1915 } 1912 1916
Note: See TracChangeset
for help on using the changeset viewer.