[asterisk-scf-commits] asterisk-scf/release/pjproject.git branch "master" updated.
Commits to the Asterisk SCF project code repositories
asterisk-scf-commits at lists.digium.com
Mon Oct 3 17:53:11 CDT 2011
branch "master" has been updated
via eb5da345a860acc74a8c1e38a7a3b2fa498b6599 (commit)
from 85add862b1de47b94b2e87ed5a10bc2a168a7fba (commit)
Summary of changes:
pjmedia/src/pjmedia/sdp_neg.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
- Log -----------------------------------------------------------------
commit eb5da345a860acc74a8c1e38a7a3b2fa498b6599
Author: Joshua Colp <jcolp at digium.com>
Date: Mon Oct 3 19:52:42 2011 -0300
Remove logic which injects media lines that may be missing. What it doesn't know is that it is perfectly acceptable to change the transport of a media stream.
diff --git a/pjmedia/src/pjmedia/sdp_neg.c b/pjmedia/src/pjmedia/sdp_neg.c
index 6263f0c..45a3282 100644
--- a/pjmedia/src/pjmedia/sdp_neg.c
+++ b/pjmedia/src/pjmedia/sdp_neg.c
@@ -283,6 +283,7 @@ PJ_DEF(pj_status_t) pjmedia_sdp_neg_modify_local_offer( pj_pool_t *pool,
* the new offer by reordering and adding the missing media line with
* port number set to zero.
*/
+#if 0
for (oi = 0; oi < old_offer->media_count; ++oi) {
pjmedia_sdp_media *om;
pjmedia_sdp_media *nm;
@@ -308,6 +309,7 @@ PJ_DEF(pj_status_t) pjmedia_sdp_neg_modify_local_offer( pj_pool_t *pool,
break;
}
}
+
if (!found) {
pjmedia_sdp_media *m;
@@ -316,7 +318,9 @@ PJ_DEF(pj_status_t) pjmedia_sdp_neg_modify_local_offer( pj_pool_t *pool,
pj_array_insert(new_offer->media, sizeof(new_offer->media[0]),
new_offer->media_count++, oi, &m);
}
+
}
+#endif
/* New_offer fixed */
neg->initial_sdp = new_offer;
-----------------------------------------------------------------------
--
asterisk-scf/release/pjproject.git
More information about the asterisk-scf-commits
mailing list