summaryrefslogtreecommitdiff
path: root/pjmedia/include
diff options
context:
space:
mode:
authorLiong Sauw Ming <ming@teluu.com>2015-06-22 07:33:46 +0000
committerLiong Sauw Ming <ming@teluu.com>2015-06-22 07:33:46 +0000
commit33a37dfd522fe546fde98934d1223f4b7995f1e8 (patch)
tree84e95d01cbfa820760fc19768a21df834417ac7b /pjmedia/include
parenta5fd50f33a261b9e3159e2c2708aa3402db78fc7 (diff)
Fixed #1860: Modify pjmedia_sdp_neg_fmt_match() to check for encoding parameters as well
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5114 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/include')
-rw-r--r--pjmedia/include/pjmedia/sdp_neg.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/pjmedia/include/pjmedia/sdp_neg.h b/pjmedia/include/pjmedia/sdp_neg.h
index a17c74ce..d5ed9d27 100644
--- a/pjmedia/include/pjmedia/sdp_neg.h
+++ b/pjmedia/include/pjmedia/sdp_neg.h
@@ -788,10 +788,11 @@ PJ_DECL(pj_status_t) pjmedia_sdp_neg_register_fmt_match_cb(
/**
* Match format in the SDP media offer and answer. The matching mechanism
- * will be done by comparing the encoding name and clock rate, and if the
- * custom format matching callback for the specified format is registered,
- * see #pjmedia_sdp_neg_register_fmt_match_cb(), it will be called for more
- * detail verification, e.g: format parameters specified in SDP fmtp.
+ * will be done by comparing the encoding name, clock rate, and encoding
+ * parameters (if any), and if the custom format matching callback
+ * for the specified format is registered, see
+ * #pjmedia_sdp_neg_register_fmt_match_cb(), it will be called for
+ * more detail verification, e.g: format parameters specified in SDP fmtp.
*
* @param pool The memory pool.
* @param offer The SDP media offer.