Commit Graph

  • 415e96dec6 Fix endianness of integer SDP attributes. Fix transferProtocol attributes. Cameron Gutman 2014-10-10 22:15:21 -07:00
  • abc7f135f3 Prevent a decoder stall from causing corruption of queued decode units Cameron Gutman 2014-10-10 21:15:50 -07:00
  • 4b93207def Improve ByteBufferDescriptor print functionality Cameron Gutman 2014-10-10 21:13:05 -07:00
  • f004ae6a41 Use the entry's queue time rather than calling currentTimeMillis() again Cameron Gutman 2014-10-10 18:21:41 -07:00
  • ac6120adc4 Send control messages as a single TCP packet because the streamer on the PC can choke if it doesn't receive the header and body at the same time Cameron Gutman 2014-10-10 18:14:43 -07:00
  • 0c4a049a80 More performance optimizations by submitting a batch of decode units to get them to the hardware decoder ASAP Cameron Gutman 2014-10-10 17:51:39 -07:00
  • 8403101d0f Small performance optimization by only blocking on an input buffer if we've already got a DU Cameron Gutman 2014-10-09 19:05:57 -07:00
  • 47d47afd73 Update common Cameron Gutman 2014-10-07 23:18:08 -07:00
  • 1430801888 Fix a potential deadlock that could occur if the input buffers are exhausted. A couple other performance optimizations by overlapping some latency. Cameron Gutman 2014-10-07 23:17:32 -07:00
  • 6efc7e254b Don't prefer the newer Samsung decoder because it seems to cause issues on older devices Cameron Gutman 2014-10-07 23:16:07 -07:00
  • d9c2d58519 Don't bind to the RTP ports explicitly. GFE doesn't force us to use these port numbers anymore. Cameron Gutman 2014-10-07 23:14:48 -07:00
  • 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 Cameron Gutman 2014-10-07 23:01:39 -07:00
  • a5171a1701 Fix some localization issues (for Arabic at least) Cameron Gutman 2014-10-05 15:47:36 -07:00
  • 22865b8af4 Don't localize the PIN string Cameron Gutman 2014-10-05 15:46:09 -07:00
  • a50211ab95 Merge branch 'master' into root Cameron Gutman 2014-10-04 18:43:27 -07:00
  • 31677adaa0 Add code to handle OUYA reporting invalid flat values Cameron Gutman 2014-10-04 18:41:18 -07:00
  • 247a19766c Merge branch 'master' into root Cameron Gutman 2014-10-03 23:35:12 -07:00
  • 1f09cbd609 Fix mouse scrolling and remove unreachable code v2.5.6 Cameron Gutman 2014-10-03 23:20:09 -07:00
  • 731e4dc31e Merge branch 'master' into root Cameron Gutman 2014-10-03 23:09:40 -07:00
  • b6ee0764ff Clear connection state before stopping to avoid potential deadlocks Cameron Gutman 2014-10-03 23:07:42 -07:00
  • cd4bf9a28b Merge branch 'master' into root Cameron Gutman 2014-10-03 23:05:06 -07:00
  • f56b7ff79e Bump to 2.5.6 Cameron Gutman 2014-10-03 22:56:30 -07:00
  • 645ea683ee Increase the minimum deadzone to 12% because I'm paranoid Cameron Gutman 2014-10-03 22:52:48 -07:00
  • 67e22fca6b Improve re-hiding of the system UI by using a proper system UI visibility listener Cameron Gutman 2014-10-03 22:49:36 -07:00
  • a726ba8ea7 Add an ungrab key combo (Ctrl+Shift+Z). Ignore repeat key down events. Fix some mishandling of input events that could cause crashes. Cameron Gutman 2014-10-03 22:18:36 -07:00
  • 23fcaa1bab Add axis scaling support Cameron Gutman 2014-10-01 20:24:40 -07:00
  • 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 Cameron Gutman 2014-10-01 20:22:06 -07:00
  • ad684a6f6b Merge version update Cameron Gutman 2014-09-28 16:30:37 -07:00
  • d3438f4938 Update common jar Cameron Gutman 2014-09-28 16:27:11 -07:00
  • cafdc21bf2 Prefer Samsung's OMX.SEC.AVC.Decoder if it's in the list of decoders Cameron Gutman 2014-09-28 14:17:31 -07:00
  • ceb9bd3342 Change bitstream restrictions to match default values Cameron Gutman 2014-09-28 12:27:21 -07:00
  • 196c0e6cbc Update version Cameron Gutman 2014-09-28 16:30:37 -07:00
  • e2cb7c953c Update common jar Cameron Gutman 2014-09-28 16:27:11 -07:00
  • 426b3c8522 Prefer Samsung's OMX.SEC.AVC.Decoder if it's in the list of decoders Cameron Gutman 2014-09-28 14:17:31 -07:00
  • 9648cf257f Change bitstream restrictions to match default values Cameron Gutman 2014-09-28 12:27:21 -07:00
  • ed8857552b Raise read timeout to 5 seconds and connect timeout to 3 seconds to avoid some spurious timeouts Cameron Gutman 2014-09-27 20:05:33 -07:00
  • 31d8687f67 Add failure tracing to EvdevReader Cameron Gutman 2014-09-27 20:02:10 -07:00
  • 991407a2cf Merge branch 'master' into root Cameron Gutman 2014-09-27 19:32:39 -07:00
  • 13b80eda8a Use a common cleanup function and stop input capturing after closing the connection to allow captured devices to accept the "Connection Failed" dialog Cameron Gutman 2014-09-27 19:32:10 -07:00
  • 6677949614 Update common jar Cameron Gutman 2014-09-27 15:49:59 -07:00
  • 080dcd92d7 Suppress a warning Cameron Gutman 2014-09-27 15:45:54 -07:00
  • 31b0bcf041 Fix manually adding PCs Cameron Gutman 2014-09-27 15:45:37 -07:00
  • 5f42ca66fe Add read timeouts to HTTP requests that should come back immediately if GFE is working properly Cameron Gutman 2014-09-27 15:45:13 -07:00
  • 36664133f8 Speed up PC polling by only trying once if the remote and local IPs are the same Cameron Gutman 2014-09-27 15:43:43 -07:00
  • a3106bffca Speed up initial discovery by generating a new keypair while discovering machines. Cameron Gutman 2014-09-27 15:42:12 -07:00
  • c9d003ca6d Use a single byte buffer to serialize input packets Cameron Gutman 2014-09-27 14:58:51 -07:00
  • 94a26fb831 Force CPU decoding to low performance to make the experience less horrible Cameron Gutman 2014-09-26 20:50:34 -07:00
  • 1b026f1354 Merge branch 'master' into root Cameron Gutman 2014-09-20 02:54:15 -07:00
  • 0517e8a530 Increment version and update common jar v2.5.5 Cameron Gutman 2014-09-20 02:36:14 -07:00
  • 330f40cc18 Disable resolution scaling for now Cameron Gutman 2014-09-20 02:34:53 -07:00
  • 44366db4d5 Properly fix the timer crash Cameron Gutman 2014-09-20 02:34:06 -07:00
  • 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. Cameron Gutman 2014-09-19 22:25:38 -07:00
  • 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. Cameron Gutman 2014-09-19 22:23:06 -07:00
  • 93bf28b87d Fix weird double cancel crash. This might need more investigation later. Cameron Gutman 2014-09-19 22:22:22 -07:00
  • bd9c6834b7 Add support for adaptive resolution changes Cameron Gutman 2014-09-19 22:04:48 -07:00
  • 96ad2bcdef Update SDP generator for GFE 2.1.2 Cameron Gutman 2014-09-19 19:37:37 -07:00
  • 14c03f0b37 Improve connection negotiation speed by caching serverinfo Cameron Gutman 2014-09-19 18:57:20 -07:00
  • 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 Cameron Gutman 2014-09-17 19:29:55 -07:00
  • 9d4ca6293f Merge branch 'root' of github.com:limelight-stream/limelight-android into root Cameron Gutman 2014-09-17 19:31:07 -07:00
  • 2296b80edb 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 Cameron Gutman 2014-09-17 19:29:55 -07:00
  • 5bd30fe3dc Suppress connection warnings until 150 frames have come in Cameron Gutman 2014-09-17 01:58:41 -07:00
  • 5be499887d Fix a resource leak that was causing Limelight-Embedded to hang instead of exiting after using mDNS discovery Cameron Gutman 2014-09-16 19:17:25 -07:00
  • 5577d48dcf Don't crash if no files are present in /dev/input Cameron Gutman 2014-09-15 18:50:38 -07:00
  • 7124963c56 Remove unnecessary byte buffer allocations in the most frequent control stream packets Cameron Gutman 2014-09-15 01:02:33 -07:00
  • 4377808896 Remove unnecessary byte buffer allocations in the input path Cameron Gutman 2014-09-14 23:58:42 -07:00
  • e92a281fd8 Close the fd to wake the reading thread up for termination v2.5.4.1 Cameron Gutman 2014-09-10 02:45:21 -07:00
  • b4c3f9678a Use poll() to avoid an infinite blocking read() that causes ANRs during cleanup Cameron Gutman 2014-09-10 02:35:55 -07:00
  • 82f79c466a Version to 2.5.4.1 Cameron Gutman 2014-09-10 01:57:59 -07:00
  • d428f316b4 Don't unbind after an unexpected event Cameron Gutman 2014-09-10 01:57:24 -07:00
  • 828f4877b6 Only bind to keyboards and mice that aren't gamepads Cameron Gutman 2014-09-06 16:25:09 -07:00
  • 09e8e8e6b3 Remove isMouse() and replace it with more precise has*() functions Cameron Gutman 2014-09-06 16:03:09 -07:00
  • 77c8051ec6 Add support for keyboard and mouse combo devices in raw input mode Cameron Gutman 2014-09-06 14:09:09 -07:00
  • 819c5e823c Fix a bug where an error change any permissions would cause the operation to fail and other files to not be changed v2.5.4 Cameron Gutman 2014-09-03 23:33:25 -07:00
  • 6bae056e3a Fix a bug where an error change any permissions would cause the operation to fail and other files to not be changed Cameron Gutman 2014-09-03 23:33:25 -07:00
  • bb869a51fd Start using com.limelight.root package name Cameron Gutman 2014-09-03 23:32:37 -07:00
  • 25b3d08bb9 Revert "Remove root-specific stuff. DO NOT MERGE TO root!" Cameron Gutman 2014-09-03 23:08:54 -07:00
  • 66eb890462 More tap threshold tuning Cameron Gutman 2014-09-03 23:06:23 -07:00
  • cde8ec8262 Add vertical mouse scrolling support Cameron Gutman 2014-09-03 22:53:40 -07:00
  • 50f8f78b8d Add support for vertical mouse scrolling Cameron Gutman 2014-09-03 22:52:48 -07:00
  • ef1429a639 Increase the movement threshold to improve click success rate Cameron Gutman 2014-09-03 21:40:20 -07:00
  • 85a011eb84 Add a full decoder dump to the exception string Cameron Gutman 2014-09-03 21:34:55 -07:00
  • b5e585834d Throw a special RendererException when we have a MediaCodec crash so we have much more info for debugging Cameron Gutman 2014-09-03 21:25:26 -07:00
  • ae298fbc51 Workaround the case where a buggy codec causes findSafeDecoder to fail Cameron Gutman 2014-09-03 20:48:30 -07:00
  • 1bb9a13c17 Generate a better message when a decoder fails to initialize Cameron Gutman 2014-09-03 20:41:21 -07:00
  • c02e1ed006 Stop the decoder in the stop() function Cameron Gutman 2014-09-03 20:40:43 -07:00
  • 178c53ee84 Propagate the possible exceptions during codec capability checks to the caller so a nice dialog can be displayed instead of crashing on buggy ROMs. Small change to evdev shutdown. Cameron Gutman 2014-09-03 20:00:00 -07:00
  • 2c23dbd2be Remove root-specific stuff. DO NOT MERGE TO root! Cameron Gutman 2014-09-03 19:44:48 -07:00
  • 3e017625a9 Raw mouse input is working Cameron Gutman 2014-09-02 00:41:33 -07:00
  • 124037ce27 Rebuild libevdev_reader.so Cameron Gutman 2014-09-01 23:40:25 -07:00
  • bc166a713d More bugfixes for Evdev code. Enable ROOT_BUILD since it's the root branch. Cameron Gutman 2014-09-01 23:38:47 -07:00
  • 364a9fa7d7 Add evdev_reader JNI library Cameron Gutman 2014-09-01 23:04:15 -07:00
  • f4546ba188 Raw mouse input WIP Cameron Gutman 2014-09-01 22:19:12 -07:00
  • 5de2a8f6ec Remove unused import Cameron Gutman 2014-09-01 20:33:31 -07:00
  • 2365cd2978 Add option to disable toasts Cameron Gutman 2014-09-01 18:31:45 -07:00
  • e8dd3511db Add some tolerance in the tap to click code. Implement right clicking. Cameron Gutman 2014-09-01 14:03:55 -07:00
  • e7f1b822f7 Rename button constants to something reasonable Cameron Gutman 2014-09-01 14:02:53 -07:00
  • ae40a9736a "Fix" a null pointer exception Cameron Gutman 2014-09-01 12:36:45 -07:00
  • 08cc93d337 Update common and increment version v2.5.3.1 Cameron Gutman 2014-08-29 16:06:55 -07:00
  • 5fdd9b773c Workaround decoder errata of the Exynos 4 Cameron Gutman 2014-08-29 15:38:08 -07:00
  • c9eee2e075 Rename NvController -> ControllerStream. Use a dedicated input thread rather than a thread pool for processing input. Batch analog axis updates and mouse moves. Cameron Gutman 2014-08-20 22:27:25 -07:00