Anshuman S. Rawat wrote: > Hi Benny, > > We are trying to integrate (licensed) IPP G729 codec with PJSIP 0.7 and > are facing some audio quality issues which I have traced to jitter buffer. > I have our SIP log attached here (statements like - "Decoding done: No. > of frames: 1, totalDecoded: 10, input size: 10, nbytes: 10, frame count: > 1" are part of our G729 decode routine where frame count is incremented > for each decoded frame). > > As you will see in the log, there is a sequence of "Frame lost!" > statements. Actually, it throws a frame lost for every frame decoded. > Our frame per packet value for G729 is 2. So that would suggest that for > every RTP frame received we get the 1st G729 frame from the JB but lose > the 2nd G729 frame (from the same RTP packet). > > Would you happen to have any clue as to why that is happenning? What > other information can I provide you to help us more? If you receive 2 frames per RTP packet, then your parse() callback of your codec implementation needs to return 2 frames in frame_cnt argument. cheers, -benny > Thanks, > Anshuman