1
Vote

Can't transport/receive voice

description

Can't transport neither receiving proper voice and after merely 5 or 10 secs it is throwing exception of buffer full in following lines of code :-
short pcm = MuLawDecoder.MuLawToLinearSample(rtpPacket[index]);
byte[] pcmSample = new byte[] { (byte)(pcm & 0xFF), (byte)(pcm >> 8) };
m_waveProvider.AddSamples(pcmSample, 0, 2);
Is their any possibility that I can fix this issue or can use a new codec (like G711 or G729) since I'm using default codec from sipsorcery-softphone build (PCMU)

Thanks in anticipation.

comments