- Timestamp:
- Dec 2, 2010 10:41:46 AM (14 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjsip/src/pjsip-ua/sip_inv.c
r3381 r3383 1744 1744 1745 1745 /* Inform application about remote offer. */ 1746 1747 1746 if (mod_inv.cb.on_rx_offer && inv->notify) { 1748 1747 1749 1748 (*mod_inv.cb.on_rx_offer)(inv, sdp_info->sdp); 1750 1749 1750 } 1751 1752 /* application must have supplied an answer at this point. */ 1753 if (pjmedia_sdp_neg_get_state(inv->neg) != 1754 PJMEDIA_SDP_NEG_STATE_WAIT_NEGO) 1755 { 1756 return PJ_EINVALIDOP; 1751 1757 } 1752 1758 -
pjproject/trunk/pjsip/src/pjsua-lib/pjsua_media.c
r3376 r3383 1312 1312 1313 1313 call->audio_idx = find_audio_index(rem_sdp, srtp_active); 1314 if (call->audio_idx == -1) { 1315 /* No audio in the offer. We can't accept this */ 1316 PJ_LOG(4,(THIS_FILE, 1317 "Unable to accept SDP offer without audio for call %d", 1318 call_id)); 1319 return PJMEDIA_SDP_EINMEDIA; 1320 } 1314 1321 } 1315 1322
Note: See TracChangeset
for help on using the changeset viewer.