Changeset 207 for pjproject/trunk/pjmedia/src/pjmedia/sdp_neg.c
- Timestamp:
- Feb 21, 2006 11:41:33 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/sdp_neg.c
r188 r207 329 329 return PJ_SUCCESS; 330 330 } 331 332 PJ_DEF(pj_bool_t) pjmedia_sdp_neg_has_local_answer(pjmedia_sdp_neg *neg) 333 { 334 pj_assert(neg && neg->state==PJMEDIA_SDP_NEG_STATE_WAIT_NEGO); 335 return !neg->has_remote_answer; 336 } 337 331 338 332 339 /* Swap string. */ … … 694 701 695 702 /* See if all types of offer can be matched. */ 703 #if 0 696 704 if ((offer_has_codec && !found_matching_codec) || 697 705 (offer_has_telephone_event && !found_matching_telephone_event) || … … 701 709 return PJ_FALSE; 702 710 } 711 #else 712 PJ_TODO(FULL_MATCHING_WITH_TELEPHONE_EVENTS); 713 if (!found_matching_codec && 714 !found_matching_telephone_event && 715 !found_matching_other) 716 { 717 /* Some of the payload in the offer has no matching local sdp */ 718 return PJ_FALSE; 719 } 720 #endif 703 721 704 722 /* Seems like everything is in order. … … 839 857 840 858 return has_active ? PJ_SUCCESS : PJMEDIA_SDPNEG_ENOMEDIA; 859 //return PJ_SUCCESS; 841 860 } 842 861
Note: See TracChangeset
for help on using the changeset viewer.