Changeset 3219
- Timestamp:
- Jun 23, 2010 12:38:28 PM (14 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/transport_srtp.c
r3191 r3219 1166 1166 1167 1167 /* If the media is inactive, do nothing. */ 1168 /* No, we still need to process SRTP offer/answer even if the media is 1169 * marked as inactive, because the transport is still alive in this 1170 * case (e.g. for keep-alive). See: 1171 * http://trac.pjsip.org/repos/ticket/1079 1172 */ 1173 /* 1168 1174 if (pjmedia_sdp_media_find_attr(m_loc, &ID_INACTIVE, NULL) || 1169 1175 (m_rem && pjmedia_sdp_media_find_attr(m_rem, &ID_INACTIVE, NULL))) 1170 1176 goto BYPASS_SRTP; 1177 */ 1171 1178 1172 1179 /* Check remote media transport & set local media transport -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_call.c
r3206 r3219 2185 2185 } 2186 2186 2187 if (info.stream_info[i].dir == PJMEDIA_DIR_ENCODING) 2187 if (call->media_dir == PJMEDIA_DIR_NONE) { 2188 /* To handle when the stream that is currently being paused 2189 * (http://trac.pjsip.org/repos/ticket/1079) 2190 */ 2191 dir = "inactive"; 2192 } else if (info.stream_info[i].dir == PJMEDIA_DIR_ENCODING) 2188 2193 dir = "sendonly"; 2189 2194 else if (info.stream_info[i].dir == PJMEDIA_DIR_DECODING) -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r3215 r3219 1558 1558 call->media_dir = PJMEDIA_DIR_NONE; 1559 1559 1560 /* Don't stop transport because we need to transmit keep-alives, and 1561 * also to prevent restarting ICE negotiation. See 1562 * http://trac.pjsip.org/repos/ticket/1094 1563 */ 1564 #if 0 1560 1565 /* Shutdown transport's session */ 1561 1566 pjmedia_transport_media_stop(call->med_tp); … … 1569 1574 call->med_tp = call->med_orig; 1570 1575 } 1576 #endif 1571 1577 1572 1578 } else {
Note: See TracChangeset
for help on using the changeset viewer.