2188 Commits

Author SHA1 Message Date
Cameron Gutman
1430801888 Fix a potential deadlock that could occur if the input buffers are exhausted. A couple other performance optimizations by overlapping some latency. 2014-10-07 23:17:32 -07:00
Cameron Gutman
6efc7e254b Don't prefer the newer Samsung decoder because it seems to cause issues on older devices 2014-10-07 23:16:07 -07:00
Cameron Gutman
d9c2d58519 Don't bind to the RTP ports explicitly. GFE doesn't force us to use these port numbers anymore. 2014-10-07 23:14:48 -07:00
Cameron Gutman
ace1339811 Check local IP first always to properly handle cases where we're behind a router that won't get UDP traffic back to us if we use the remote address 2014-10-07 23:01:39 -07:00
Cameron Gutman
a5171a1701 Fix some localization issues (for Arabic at least) 2014-10-05 15:47:36 -07:00
Cameron Gutman
22865b8af4 Don't localize the PIN string 2014-10-05 15:46:09 -07:00
Cameron Gutman
a50211ab95 Merge branch 'master' into root 2014-10-04 18:43:27 -07:00
Cameron Gutman
31677adaa0 Add code to handle OUYA reporting invalid flat values 2014-10-04 18:41:18 -07:00
Cameron Gutman
247a19766c Merge branch 'master' into root 2014-10-03 23:35:12 -07:00
Cameron Gutman
1f09cbd609 Fix mouse scrolling and remove unreachable code v2.5.6 2014-10-03 23:20:09 -07:00
Cameron Gutman
731e4dc31e Merge branch 'master' into root 2014-10-03 23:09:40 -07:00
Cameron Gutman
b6ee0764ff Clear connection state before stopping to avoid potential deadlocks 2014-10-03 23:07:42 -07:00
Cameron Gutman
cd4bf9a28b Merge branch 'master' into root
Conflicts:
	AndroidManifest.xml
	libs/limelight-common.jar
	src/com/limelight/Game.java
2014-10-03 23:05:06 -07:00
Cameron Gutman
f56b7ff79e Bump to 2.5.6 2014-10-03 22:56:30 -07:00
Cameron Gutman
645ea683ee Increase the minimum deadzone to 12% because I'm paranoid 2014-10-03 22:52:48 -07:00
Cameron Gutman
67e22fca6b Improve re-hiding of the system UI by using a proper system UI visibility listener 2014-10-03 22:49:36 -07:00
Cameron Gutman
a726ba8ea7 Add an ungrab key combo (Ctrl+Shift+Z). Ignore repeat key down events. Fix some mishandling of input events that could cause crashes. 2014-10-03 22:18:36 -07:00
Cameron Gutman
23fcaa1bab Add axis scaling support 2014-10-01 20:24:40 -07:00
Cameron Gutman
431ba06742 Scale controller axis values to match how Xinput reads them on the PC. Clients that support this must have proper deadzone support (incorrect deadzones will be noticeable) and set ControllerPacket.enableAxisScaling 2014-10-01 20:22:06 -07:00
Cameron Gutman
ad684a6f6b Merge version update 2014-09-28 16:38:56 -07:00
Cameron Gutman
d3438f4938 Update common jar 2014-09-28 16:37:51 -07:00
Cameron Gutman
cafdc21bf2 Prefer Samsung's OMX.SEC.AVC.Decoder if it's in the list of decoders 2014-09-28 16:37:41 -07:00
Cameron Gutman
ceb9bd3342 Change bitstream restrictions to match default values 2014-09-28 16:37:30 -07:00
Cameron Gutman
196c0e6cbc Update version 2014-09-28 16:30:37 -07:00
Cameron Gutman
e2cb7c953c Update common jar 2014-09-28 16:27:11 -07:00
Cameron Gutman
426b3c8522 Prefer Samsung's OMX.SEC.AVC.Decoder if it's in the list of decoders 2014-09-28 14:17:31 -07:00
Cameron Gutman
9648cf257f Change bitstream restrictions to match default values 2014-09-28 12:27:21 -07:00
Cameron Gutman
ed8857552b Raise read timeout to 5 seconds and connect timeout to 3 seconds to avoid some spurious timeouts 2014-09-27 20:05:33 -07:00
Cameron Gutman
31d8687f67 Add failure tracing to EvdevReader 2014-09-27 20:02:10 -07:00
Cameron Gutman
991407a2cf Merge branch 'master' into root 2014-09-27 19:32:39 -07:00
Cameron Gutman
13b80eda8a Use a common cleanup function and stop input capturing after closing the connection to allow captured devices to accept the "Connection Failed" dialog 2014-09-27 19:32:10 -07:00
Cameron Gutman
6677949614 Update common jar 2014-09-27 15:49:59 -07:00
Cameron Gutman
080dcd92d7 Suppress a warning 2014-09-27 15:45:54 -07:00
Cameron Gutman
31b0bcf041 Fix manually adding PCs 2014-09-27 15:45:37 -07:00
Cameron Gutman
5f42ca66fe Add read timeouts to HTTP requests that should come back immediately if GFE is working properly 2014-09-27 15:45:13 -07:00
Cameron Gutman
36664133f8 Speed up PC polling by only trying once if the remote and local IPs are the same 2014-09-27 15:43:43 -07:00
Cameron Gutman
a3106bffca Speed up initial discovery by generating a new keypair while discovering machines. 2014-09-27 15:42:12 -07:00
Cameron Gutman
c9d003ca6d Use a single byte buffer to serialize input packets 2014-09-27 14:58:51 -07:00
Cameron Gutman
94a26fb831 Force CPU decoding to low performance to make the experience less horrible 2014-09-26 20:50:34 -07:00
Cameron Gutman
1b026f1354 Merge branch 'master' into root
Conflicts:
	AndroidManifest.xml
	src/com/limelight/binding/input/evdev/EvdevWatcher.java
2014-09-20 02:54:15 -07:00
Cameron Gutman
0517e8a530 Increment version and update common jar v2.5.5 2014-09-20 02:36:14 -07:00
Cameron Gutman
330f40cc18 Disable resolution scaling for now 2014-09-20 02:34:53 -07:00
Cameron Gutman
44366db4d5 Properly fix the timer crash 2014-09-20 02:34:06 -07:00
Cameron Gutman
a9fea34ac1 Add support for adaptive resolution changes. It's enabled by default on devices that claim support (KitKat+) or decoders that we know are okay. I pulled in jcodec to allow us to do proper SPS fixups without hardcoded offsets. 2014-09-19 22:25:38 -07:00
Cameron Gutman
201704dc9d Finally fix the random pairing failure. It turns out that it was causing by background querying for serverinfo during the pairing process. Now we stop polling computers while pairing is in progress. 2014-09-19 22:23:06 -07:00
Cameron Gutman
93bf28b87d Fix weird double cancel crash. This might need more investigation later. 2014-09-19 22:22:22 -07:00
Cameron Gutman
bd9c6834b7 Add support for adaptive resolution changes 2014-09-19 22:04:48 -07:00
Cameron Gutman
96ad2bcdef Update SDP generator for GFE 2.1.2 2014-09-19 19:37:37 -07:00
Cameron Gutman
14c03f0b37 Improve connection negotiation speed by caching serverinfo 2014-09-19 18:57:20 -07:00
Cameron Gutman
62ecb1af50 Use fixed point libopus builds on ARM and MIPS. This improves performance and allows the use of NEON on ARM for a huge perf boost 2014-09-17 19:36:51 -07:00