This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ndk socket丢包问题



              大家好,我们最近做的一个项目中,使用PC向DSP发送标准的PCMA音包(PC与板子上的DSP相连,PC每隔20ms左右向DSP固定地址端口发送一包,DSP使用recv函数进行接收),通过打印RTP音包的包头序列号和时间戳,发现DSP接收到的前面几十包序号还能保持连续,但到后面就开始出现丢包现象,接收到的相邻两包序列号大多都是差3.。想问问大家这个是什么问题,有没有什么可以优化接收包的方法,谢谢了!!