From 33a37dfd522fe546fde98934d1223f4b7995f1e8 Mon Sep 17 00:00:00 2001 From: Liong Sauw Ming Date: Mon, 22 Jun 2015 07:33:46 +0000 Subject: 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 --- pjmedia/include/pjmedia/sdp_neg.h | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'pjmedia/include') 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. -- cgit v1.2.3