mirror of
https://github.com/moonlight-stream/moonlight-android.git
synced 2025-07-20 19:42:45 +00:00
Update to new common
This commit is contained in:
parent
20a5a844db
commit
1f69b4f271
Binary file not shown.
@ -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();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user