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.

音视频数据网络传输



dm365(dvsdk 2.10.01.18)中想通过网络传输音频数据和视频数据,encode程序的speech线程中的压缩数据通过FIFO传入到writer线程中,在writer线程中通过网络发送获得的视频和音频数据。如果采用单向的Fifo操作,如speech线程中将压缩后的音频直接Fifo_put,writer线程中的循环在接收完视频后用Fifo_get接收音频,网络接收端的视频正常,但是音频出现断断续续的情况,原因应该是fifo操作为阻塞模式,fifo操作以慢的为准,不知是否正确?音视频数据如何汇集后从单独线程中进行网络传输?