Hi, I also meet the problem. When I use
assert(SdpCodec::SDP_CODEC_ILBC == payloadType); it always failed. So could anybody know how to fix it? Thanks! PS: I use the sipXtapi branch 9081, VS2003, XP SP2 -----Original Message----- From: [EMAIL PROTECTED] [ <mailto:[EMAIL PROTECTED]> mailto:[EMAIL PROTECTED] cz] Sent: 2007年3月1日 23:36 To: [email protected] Subject: Re: [sipxtapi-dev] compiling sipxmedialib with ilbc Alexander Chemeris wrote: > Hello, > > On 3/1/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > >> I just tested it and the line in mpesipxILBC.cpp: >> >> assert(CODEC_TYPE_ILBC == payloadType); >> >> was correct, but >> > For me it looks incorrect, because payloadType is took from SDP and > may change even in runtime. > > But then SdpCodec::SDP_CODEC_ILBC contains wrong number. Because when I tried it with assert assert(SdpCodec::SDP_CODEC_ILBC == payloadType); payloadType was 96 and payloadTypeSdpCodec::SDP_CODEC_ILBC was another value. I tried it by using example receive call application and my phone and both showed assert failure. In some other encoders, this check isn't done at all. Once I added that define to netintask it worked. Jaroslav Libak
_______________________________________________ sipxtapi-dev mailing list [email protected] List Archive: http://list.sipfoundry.org/archive/sipxtapi-dev/
