<div dir="ltr"><div>As my testing, the function RTPInterface::sendRTPorRTCPPacketOverTCP may hung taskSchedule's thread, I found it was at source code line 307, and I modify it from<br> " if (!sendDataOverTCP(socketNum, packet, packetSize, True)) break;"<br>
</div> to<br><div> "if (!sendDataOverTCP(socketNum, packet, packetSize, False)) break;"<br clear="all"><div><div>My test client is ffplay. I guest the reason is that nonblock send() call was failed, and then set this client socket into blocking mode and resend, but ffplay read data may return error and it will retry, so ffplay's receive buffer was full, and our send() was block;<br>
<br></div><div>Thanks<br></div><div>-- <br>by:crazyevent</div></div></div></div>