Module: sems Branch: master Commit: 0eb93eb418eca105c77becda3f1242851d15d996 URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=0eb93eb418eca105c77becda3f1242851d15d996
Author: Carsten Bock <[email protected]> Committer: Carsten Bock <[email protected]> Date: Tue Feb 7 17:38:48 2012 +0100 Code cleanup. --- apps/sbc/SDPFilter.cpp | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/apps/sbc/SDPFilter.cpp b/apps/sbc/SDPFilter.cpp index 53f8812..c0d0982 100644 --- a/apps/sbc/SDPFilter.cpp +++ b/apps/sbc/SDPFilter.cpp @@ -105,12 +105,10 @@ void filter_alines(SdpMedia& m) { std::vector<SdpAttribute> new_alines; for (std::vector<SdpAttribute>::iterator a_it = m.attributes.begin(); a_it != m.attributes.end(); a_it++) { + // Various Attributes are added by the SDP-Parser itself, such as rtpmap, ftmp, etc. if ((a_it->attribute == "silenceSupp") - || (a_it->attribute == "rtpmap") - || (a_it->attribute == "fmtp") || (a_it->attribute == "ptime")) { new_alines.push_back(*a_it); - DBG("Left SDP-Attribute: '%s':'%s'\n", a_it->attribute.c_str(), a_it->value.c_str()); } else { DBG("Dropped SDP-Attribute: '%s':'%s'\n", a_it->attribute.c_str(), a_it->value.c_str()); } _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
