Update to new common

This commit is contained in:
Cameron Gutman 2014-07-31 01:33:32 -07:00
parent 20a5a844db
commit 1f69b4f271
2 changed files with 2 additions and 4 deletions

Binary file not shown.

View File

@ -184,13 +184,11 @@ public class Game extends Activity implements SurfaceHolder.Callback, OnGenericM
String host = Game.this.getIntent().getStringExtra(EXTRA_HOST); String host = Game.this.getIntent().getStringExtra(EXTRA_HOST);
String app = Game.this.getIntent().getStringExtra(EXTRA_APP); String app = Game.this.getIntent().getStringExtra(EXTRA_APP);
String uniqueId = Game.this.getIntent().getStringExtra(EXTRA_UNIQUEID); String uniqueId = Game.this.getIntent().getStringExtra(EXTRA_UNIQUEID);
boolean enableLargePackets = !Game.this.getIntent().getBooleanExtra(EXTRA_STREAMING_REMOTE, true);
LimeLog.info("Using large packets? "+enableLargePackets);
// Start the connection // Start the connection
conn = new NvConnection(host, uniqueId, Game.this, conn = new NvConnection(host, uniqueId, Game.this,
new StreamConfiguration(app, width, height, refreshRate, bitrate * 1000, new StreamConfiguration(app, width, height, refreshRate, bitrate * 1000, sops),
enableLargePackets ? 1460 : 1024, sops), PlatformBinding.getCryptoProvider(this)); PlatformBinding.getCryptoProvider(this));
keybTranslator = new KeyboardTranslator(conn); keybTranslator = new KeyboardTranslator(conn);
controllerHandler = new ControllerHandler(conn); controllerHandler = new ControllerHandler(conn);
decoderRenderer = new ConfigurableDecoderRenderer(); decoderRenderer = new ConfigurableDecoderRenderer();