--- a/multimediacommsengine/mmceshared/src/mcecomcodec.cpp Tue May 11 16:34:40 2010 +0300
+++ b/multimediacommsengine/mmceshared/src/mcecomcodec.cpp Tue May 25 13:07:26 2010 +0300
@@ -228,7 +228,14 @@
const TDesC8& /*aFmtpValue*/,
TBool /*aIsStrictMatch*/ )
{
- return aRtpmapValue.FindF( iSdpName ) == 0;
+ // find MIME type
+ TInt slashPos = aRtpmapValue.Find( _L8( "/" ) );
+ if ( slashPos != KErrNotFound )
+ {
+ return aRtpmapValue.Left(slashPos).Compare( iSdpName ) == 0;
+ }
+
+ return aRtpmapValue.FindF(iSdpName) == 0;
}
// -----------------------------------------------------------------------------