Slightly reduce max packet size in an attempt to cut packet losses

This commit is contained in:
Cameron Gutman 2014-11-25 01:05:55 -08:00
parent 871b73c48d
commit dc64bfeba2

View File

@ -170,7 +170,7 @@ public class Game extends Activity implements SurfaceHolder.Callback,
.enableAdaptiveResolution((decoderRenderer.getCapabilities() &
VideoDecoderRenderer.CAPABILITY_ADAPTIVE_RESOLUTION) != 0)
.enableLocalAudioPlayback(prefConfig.playHostAudio)
.setMaxPacketSize(remote ? 1024 : 1392)
.setMaxPacketSize(remote ? 1024 : 1292)
.build();
// Initialize the connection