Attempt to read a maximum of 1500 bytes for the TURN ChannelData socket.

This commit is contained in:
seb 2011-02-24 17:03:06 +00:00
parent 1358438efd
commit 0625a6c33a

View File

@ -721,7 +721,8 @@ public class RelayedCandidateDatagramSocket
while (!closed) while (!closed)
{ {
int receiveBufferSize = channelDataSocket.getReceiveBufferSize(); // read one datagram a time
int receiveBufferSize = 1500;
if (p == null) if (p == null)
{ {