Changeset 3195
- Timestamp:
- Jun 3, 2010 3:06:03 AM (14 years ago)
- Location:
- pjproject/trunk
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjmedia/src/pjmedia/sdp_neg.c
r3192 r3195 1008 1008 for (; omi<offer->media_count; ++omi) { 1009 1009 if (ami == answer->media_count) { 1010 /* The answer has less media than the offer */ 1011 pjmedia_sdp_media *am; 1012 1013 /* Generate matching-but-disabled-media for the answer */ 1014 am = pjmedia_sdp_media_clone(pool, offer->media[omi]); 1015 am->desc.port = 0; 1016 answer->media[answer->media_count++] = am; 1017 ++ami; 1018 1010 1019 /* No answer media to be negotiated */ 1011 1020 offer->media[omi]->desc.port = 0;
Note: See TracChangeset
for help on using the changeset viewer.