diff options
author | Benny Prijono <bennylp@teluu.com> | 2006-02-23 18:02:27 +0000 |
---|---|---|
committer | Benny Prijono <bennylp@teluu.com> | 2006-02-23 18:02:27 +0000 |
commit | d54482a7bbe74ce08f20fc31c3fb8c0ba2004f9f (patch) | |
tree | d5929a653042fcec605ee1cca4db51af8159f9f7 /pjmedia | |
parent | ef75452b716a0c125c12afb5a13232ea4966d58e (diff) |
Fixed bugs when codec order in remote and local sdp is different
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@225 74dad513-b988-da41-8d7b-12977e46ad98
Diffstat (limited to 'pjmedia')
-rw-r--r-- | pjmedia/src/pjmedia/session.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/pjmedia/src/pjmedia/session.c b/pjmedia/src/pjmedia/session.c index 59960941..7fe3aa75 100644 --- a/pjmedia/src/pjmedia/session.c +++ b/pjmedia/src/pjmedia/session.c @@ -139,13 +139,6 @@ static pj_status_t create_stream_info_from_sdp(pj_pool_t *pool, return PJMEDIA_EINVALIDIP; } - /* For this version of PJMEDIA, send and receive media must use - * the same codec. - */ - if (pj_strcmp(&local_m->desc.fmt[0], &rem_m->desc.fmt[0]) != 0) - return PJMEDIA_EASYMCODEC; - - /* And codec must be numeric! */ if (!pj_isdigit(*local_m->desc.fmt[0].ptr)) return PJMEDIA_EINVALIDPT; |