diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-09-25 13:40:12 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-09-25 13:40:12 +0000 |
commit | cf3c435e0093cf2f1fb8add2298ee468f8c6afc5 (patch) | |
tree | 93bbdb60b762ce015dc8f55147eed38bb034d1ca /pjmedia/src/pjmedia-codec | |
parent | e3f862fca94af0cb4812796055b18d2ba107b613 (diff) |
Tests with other user agents revealed some bugs which
have been fixed below:
- some UAs sends "telephone-event/8000/1" instead of
"telephone-event/8000", which caused SDP negotiation
to fail. Fixed in sdp_neg.c.
- codec name was (incorrectly) compared case-sensitively,
causing negotiation to fail. Fixed in sdp_neg.c.
- Also improved error reporting in SDP negotiation by
introducing few more error codes.
- Added Warning header in Not Acceptable response sent
by pjsip_inv_session when SDP negotiation fails.
- PJSUA-LIB will try to negotiate both SDPs before
sending 100 response.
- Fixed bug in iLBC codec when setting the mode to 30.
Also:
- Echo cancellation by default is disabled now since
it doesn't seem to work. Further investigation needed.
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@738 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia/src/pjmedia-codec')
-rw-r--r-- | pjmedia/src/pjmedia-codec/ilbc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pjmedia/src/pjmedia-codec/ilbc.c b/pjmedia/src/pjmedia-codec/ilbc.c index c6ec700a..da4bcec0 100644 --- a/pjmedia/src/pjmedia-codec/ilbc.c +++ b/pjmedia/src/pjmedia-codec/ilbc.c @@ -395,7 +395,7 @@ static pj_status_t ilbc_codec_open(pjmedia_codec *codec, attr->setting.penh); if (attr->setting.dec_fmtp_mode == 20) ilbc_codec->dec_frame_size = 38; - else if (attr->setting.dec_fmtp_mode == 20) + else if (attr->setting.dec_fmtp_mode == 30) ilbc_codec->dec_frame_size = 50; else { pj_assert(!"Invalid iLBC mode"); |