Re: [OpenSIPStack] [SF] RTP fault
Brought to you by:
joegenbaclor
From: Joegen E. B. <joe...@gm...> - 2008-05-23 01:14:11
|
Hi, Thanks for the logs. They were very helpful. It is evident that the previous call did not destroy the codec properly. I will try to replicate this on my system. Ilian is currently on leave so it might take a while for him to catch this thread. I have created a ticket for this: http://www.assembla.com/spaces/opensbc/tickets/20 Joegen H.Kropf wrote: > Hi > > Log (for pwlib - level 6) - in attachments > > > Joegen E. Baclor wrote: >> Hmmn. Strange. Seems like the codec from the previous call has not >> been destroyed. Can you send me a maximum level log of two >> consecutive calls right after fresh startup of your SoftPhone? >> >> H.Kropf wrote: >> >>> Hi >>> >>> >>>>> can you put a break-point in OpalTranscoder::ConvertFrames() and >>>>> figure out where exactly it fails? >>>>> >>> I can :) >>> >>> >>> bool OpalMediaPatch::Sink::WriteFrame(RTP_DataFrame & sourceFrame) >>> { >>> ...... >>> if (!primaryCodec->ConvertFrames(sourceFrame, intermediateFrames)) >>> { >>> PTRACE(1, "Patch\tMedia conversion (primary) failed"); >>> return false; >>> } >>> ...... >>> } >>> >>> BOOL OpalTranscoder::ConvertFrames(const RTP_DataFrame & input, >>> RTP_DataFrameList & output) >>> { >>> ....... >>> return Convert(input, output[0]); >>> } >>> >>> BOOL OpalFlexiTranscoder::Convert( const RTP_DataFrame & input, >>> RTP_DataFrame & output) >>> { >>> return m_Transcoder->Convert( input, output ); >>> } >>> >>> BOOL OpalFramedTranscoder::Convert(const RTP_DataFrame & input, >>> RTP_DataFrame & output) >>> { >>> .... >>> while (inputLength > 0) >>> { >>> ...... >>> if (!ConvertFrame(inputPtr, consumed, outputPtr, created)) >>> return FALSE; >>> ....... >>> } >>> ....... >>> } >>> >>> BOOL OpalFramedTranscoder::ConvertFrame(const BYTE * inputPtr, >>> PINDEX & /*consumed*/, BYTE * outputPtr, PINDEX & /*created*/) >>> { >>> return ConvertFrame(inputPtr, outputPtr); >>> } >>> >>> >>> >>> BOOL Opal_PCM_G729::ConvertFrame(const BYTE * src, BYTE * dst) >>> { >>> if (voiceAgeEncoderInUse != this) return FALSE; // >>> !!!!!!!!!!!! <<<=== this place >>> ...... >>> } >>> >>> >>> >>> >>>> Hi, >>>> >>>> Are you a C++ developer? If so, can you put a break-point in >>>> OpalTranscoder::ConvertFrames() and figure out where exactly it fails? >>>> >>>> Joegen >>>> >>>> H.Kropf wrote: >>>> >>>>> Hello >>>>> >>>>> After a last update of library from CVS (2008-05-20), my softphone >>>>> (on OSS library) makes only one successful call after start. In >>>>> next calls there is no voice. In PTRACE-log there are many such >>>>> records >>>>> >>>>> Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion >>>>> (primary) failed >>>>> Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion >>>>> (primary) failed >>>>> Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion >>>>> (primary) failed >>>>> Media Patch:1eb9410 PWL: [CID=0x0000] Patch Media conversion >>>>> (primary) failed >>>>> >>>>> >>>>> In the previous version (CVS 2008-05-12) this problem did not exist >>>>> >>>>> ------------------------------------------------------------------------- >>>>> >>>>> This SF.net email is sponsored by: Microsoft Defy all challenges. >>>>> Microsoft(R) Visual Studio 2008. >>>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>>> _______________________________________________ >>>>> opensipstack-devel mailing list >>>>> ope...@li... >>>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>>>> >>>>> >>>>> >>>>> >>>> ------------------------------------------------------------------------- >>>> >>>> This SF.net email is sponsored by: Microsoft Defy all challenges. >>>> Microsoft(R) Visual Studio 2008. >>>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>>> _______________________________________________ >>>> opensipstack-devel mailing list >>>> ope...@li... >>>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>>> >>>> >>> ------------------------------------------------------------------------- >>> >>> This SF.net email is sponsored by: Microsoft Defy all challenges. >>> Microsoft(R) Visual Studio 2008. >>> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >>> _______________________________________________ >>> opensipstack-devel mailing list >>> ope...@li... >>> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >>> >>> >>> >> >> >> ------------------------------------------------------------------------- >> >> This SF.net email is sponsored by: Microsoft Defy all challenges. >> Microsoft(R) Visual Studio 2008. >> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ >> _______________________________________________ >> opensipstack-devel mailing list >> ope...@li... >> https://lists.sourceforge.net/lists/listinfo/opensipstack-devel >> >> > > > > > ------------------------------------------------------------------------ > > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.524 / Virus Database: 269.23.21/1458 - Release Date: 5/21/2008 7:21 AM |