Changeset 3313 for pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
- Timestamp:
- Sep 20, 2010 6:13:02 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r3219 r3313 1546 1546 /* Reset session info with only one media stream */ 1547 1547 sess_info.stream_cnt = 1; 1548 if (si != &sess_info.stream_info[0]) 1548 if (si != &sess_info.stream_info[0]) { 1549 1549 pj_memcpy(&sess_info.stream_info[0], si, sizeof(pjmedia_stream_info)); 1550 si = &sess_info.stream_info[0]; 1551 } 1550 1552 1551 1553 /* Check if no media is active */ … … 1638 1640 si->rtp_seq = call->rtp_tx_seq; 1639 1641 si->rtp_seq_ts_set = call->rtp_tx_seq_ts_set; 1642 1643 #if defined(PJMEDIA_STREAM_ENABLE_KA) && PJMEDIA_STREAM_ENABLE_KA!=0 1644 /* Enable/disable stream keep-alive and NAT hole punch. */ 1645 si->use_ka = pjsua_var.acc[call->acc_id].cfg.use_stream_ka; 1646 #endif 1640 1647 1641 1648 /* Create session based on session info. */
Note: See TracChangeset
for help on using the changeset viewer.