Commit Graph

  • 7e3acd0213 Merge pull request #4 from irtimmer/config_javadoc Cameron Gutman 2014-02-26 12:14:13 -05:00
  • e60420cb2c Update depacketizer to do reference frame invalidation more like the official streamer. This should reduce the frequency of IDR requests by waiting for network stabilization before requesting the IDR frames. We still request IDR frames because reference frame invalidation still doesn't work well. Cameron Gutman 2014-02-26 12:12:06 -05:00
  • c733be5611 Add Javadoc about config tuples Iwan Timmer 2014-02-26 16:17:25 +01:00
  • c7f26a179d Add the frame skipping code back for certain decoders (Qualcomm) that are slow when rendering all frames and stall the whole decoder pipeline Cameron Gutman 2014-02-26 01:56:05 -05:00
  • 4b2552ed64 Set MediaCodec flags on the input buffer based on the DU flags Cameron Gutman 2014-02-26 01:01:54 -05:00
  • 4fbe93e62d Set flags on the decode units that indicate what type of data the frame contains Cameron Gutman 2014-02-26 01:00:17 -05:00
  • bc2ca0b386 Increase resilience to packet loss. IDR frames are no longer requested if error correction data was lost. A maximum of one IDR frame is requested per corrupt frame. Error correction data is used to recover from the loss of a single-packet frame. Cameron Gutman 2014-02-24 12:54:03 -05:00
  • ddc70e39c9 Only use direct submit on decoders that have (effectively) infinite input buffers Cameron Gutman 2014-02-19 22:18:26 -05:00
  • 61c0de6ca1 Update common jar Cameron Gutman 2014-02-19 21:01:09 -05:00
  • b0c4d47962 Report direct submit support for the MediaCodec decoder renderer Cameron Gutman 2014-02-19 21:00:39 -05:00
  • ccc3eeebe8 Remove the depacketizer thread again... Cameron Gutman 2014-02-19 20:59:31 -05:00
  • 63ee6ef79a Add support for direct submission of buffers to the renderers without a separate thread Cameron Gutman 2014-02-19 20:36:53 -05:00
  • cf3ac50d22 Increase the propensity for generating a loss warning Cameron Gutman 2014-02-19 20:36:12 -05:00
  • 6fc848ef56 Block for 100 ms instead of 100 us waiting for a frame. This reduces the CPU time wasted by useless iterations of the rendering loop. Cameron Gutman 2014-02-19 19:49:57 -05:00
  • c537af2273 Render the latest frame available at the time Cameron Gutman 2014-02-19 19:40:35 -05:00
  • 839540dc74 UI updates to make options more clear. Add scroll view to UI. Cameron Gutman 2014-02-19 19:22:54 -05:00
  • 22ecdd9cf8 Don't skip frames when rendering Cameron Gutman 2014-02-19 19:22:00 -05:00
  • cdf634dc41 Display messages if we detect that the device is having issues streaming Cameron Gutman 2014-02-19 19:03:51 -05:00
  • 21116f90a7 Remove unused imports Cameron Gutman 2014-02-17 19:22:49 -05:00
  • bf1c7dd675 Update common jar Cameron Gutman 2014-02-17 19:22:23 -05:00
  • 29dd0e172c Fix the new config tuples to work with our current control stream code Cameron Gutman 2014-02-17 19:18:34 -05:00
  • 2d5083179c Revert "Remove depacketizer thread" Cameron Gutman 2014-02-17 16:14:03 -05:00
  • a96de39b28 Use packet flags to determine where frames end and begin instead of the packet index Cameron Gutman 2014-02-17 15:17:20 -05:00
  • c93812179f Updated config code for artifact-free 1080p60 streaming Cameron Gutman 2014-02-17 13:47:43 -05:00
  • 426b40ae82 Don't allocate a new BufferInfo object for each output buffer Cameron Gutman 2014-02-17 14:21:42 -05:00
  • 26809c4b6b Decode parameter set NALs with the slow path so the SPS fixup hack still works Cameron Gutman 2014-02-17 13:57:15 -05:00
  • 0cce5b021e New video depacketizer that runs in O(1) time Cameron Gutman 2014-02-17 13:39:18 -05:00
  • d54c1b07ce Merge pull request #3 from irtimmer/direct_decode Cameron Gutman 2014-02-17 12:14:55 -05:00
  • 1a38cc2c0c Update config based on Shield OTA 68 Cameron Gutman 2014-02-04 09:10:18 -05:00
  • e188e1dd04 Merge branch 'master' of github.com:limelight-stream/limelight-common into logs Aaron Neyer 2014-02-02 20:24:50 -05:00
  • ae18e00b13 Reassemble NAL's early Iwan Timmer 2014-02-03 00:30:44 +01:00
  • c18b6ec00b Revert "Lower queued decode unit limit to resync faster if the renderers get behind. Lower the audio receive buffer size since it was unneccessarily large." Cameron Gutman 2014-01-24 15:33:18 -05:00
  • 53c7bb0338 Update README.md Michelle Bergeron 2014-01-24 13:25:03 -05:00
  • dfa3be78e4 Revert the DU_LIMIT changes due to variance in platform audio rendering speed Cameron Gutman 2014-01-22 17:08:01 -05:00
  • 932bb1145b Lower queued decode unit limit to resync faster if the renderers get behind. Lower the audio receive buffer size since it was unneccessarily large. Cameron Gutman 2014-01-22 17:01:37 -05:00
  • 46f4f5ccbe Merge pull request #2 from irtimmer/removethread Cameron Gutman 2014-01-22 13:53:55 -08:00
  • 7f851c46f4 Drop code compliance to Java 1.5. Minor annotation changes for 1.5 compliance. Cameron Gutman 2014-01-22 13:38:24 -05:00
  • 82ae042f1c Remove depacketizer thread Iwan Timmer 2014-01-22 15:21:55 +01:00
  • 6683c25a39 Update readme to match Limelight-PC's changes Michelle Bergeron 2014-01-21 16:54:32 -05:00
  • 8ca3aab363 add gpl Aaron Neyer 2014-01-14 10:03:07 -05:00
  • f95cd60cfd Created LimeLog as a wrapper around javas logger Aaron Neyer 2014-01-12 20:01:23 -05:00
  • ab1e47edb4 Fix retreiving an empty MAC address string on some devices Cameron Gutman 2014-01-12 19:48:31 -05:00
  • cd6420deab Update common to fix artifacting v11 Cameron Gutman 2014-01-11 14:41:54 -05:00
  • 6a695d2c72 Fix H264 decoding artifacts when a frame has fewer than 3 bytes of padding at the end Cameron Gutman 2014-01-11 14:27:46 -05:00
  • 421d73b28a Display a more detailed error when attempting to resume another device's session Cameron Gutman 2014-01-11 10:43:29 -05:00
  • b22f68bf1e Update Android Opus decoder for limelight-common changes Cameron Gutman 2014-01-10 07:56:30 -06:00
  • 46fbee1a3b Only use SPS hack on Tegra devices Cameron Gutman 2014-01-10 01:05:15 -06:00
  • 81ae7bd638 Update audio code for limelight-common changes Cameron Gutman 2014-01-10 01:04:42 -06:00
  • 023c5e31ac Update limelight-common Cameron Gutman 2014-01-10 01:03:58 -06:00
  • 042f67506c Remove the SPS hack from common, since it introduces compatibility problems for some devices Cameron Gutman 2014-01-10 00:27:35 -06:00
  • 96e5513cdb Fix resync request packet to hopefully keep working longer Cameron Gutman 2014-01-10 00:00:09 -06:00
  • cc30752eb7 Only use a socket timeout when handshaking on the control stream. Cameron Gutman 2014-01-09 23:48:59 -06:00
  • ade061bf3c Throw a GfeHttpResponseException if an HTTP response has an error code Cameron Gutman 2014-01-09 23:43:59 -06:00
  • 616945a963 Display the exception message when a stage fails Cameron Gutman 2014-01-09 23:40:57 -06:00
  • 3201fac36c Fix import warnings Cameron Gutman 2014-01-08 20:45:18 -06:00
  • 84551df36a Merge pull request #1 from irtimmer/master Cameron Gutman 2014-01-08 18:19:25 -08:00
  • b32899f101 Use a byte buffer for audio to minimize buffer copy's Iwan Timmer 2014-01-07 20:39:41 +01:00
  • 2993d62191 Unblacklist Tegra and Rockchip after the SPS fix Cameron Gutman 2014-01-06 22:54:35 -06:00
  • fd08f2b1f5 Update limelight-common for SPS fixup Cameron Gutman 2014-01-06 22:53:55 -06:00
  • b4a0f81eda Fixup bitstream_restriction_flag and max_dec_frame_buffering in the SPS to fix decoding latency issues on Tegra and the Raspberry Pi Cameron Gutman 2014-01-06 22:52:11 -06:00
  • 24732df4b7 Fix memory leak in limelight-common Cameron Gutman 2014-01-04 20:14:03 -06:00
  • 95d035f00b Wait for control stream threads to terminate. Terminate resync thread that was retaining the NvConnection object and all its children. Cameron Gutman 2014-01-04 20:07:14 -06:00
  • 24cb024c7b Performance improvements from limelight-common update Cameron Gutman 2013-12-29 02:48:18 -05:00
  • 666fbecc01 Use a 60 FPS redraw rate even if the stream is 30 FPS to reduce stutter Cameron Gutman 2013-12-29 01:41:17 -05:00
  • 6f8306cc18 Call the connectionTerminated() callback instead of trying to handle termination ourselves Cameron Gutman 2013-12-29 01:19:56 -05:00
  • e489382b0e Update for changes in limelight-common Cameron Gutman 2013-12-28 16:59:39 -05:00
  • b0d5b9c767 Remove AvcDecoder from the shared code Cameron Gutman 2013-12-28 16:42:02 -05:00
  • 3648c0f26a Fix print vs println typo Cameron Gutman 2013-12-28 16:41:39 -05:00
  • a5b6e57346 Update limelight-common jar Cameron Gutman 2013-12-27 00:42:11 -05:00
  • 10415885d5 Merge branch 'RebaseOnCommon' Cameron Gutman 2013-12-27 05:30:49 -05:00
  • 806310900d Update to libopus-1.1. Reduces CPU audio decoding overhead by up to 40%. Cameron Gutman 2013-12-27 05:30:15 -05:00
  • f1b4fdd8b0 Restore the old O(N) video depacketizer to fix artifacting. Add warnings for when the decode unit queue overflows. Cameron Gutman 2013-12-27 00:05:05 -05:00
  • 9d3ee3a0a2 Add UI elements and backend code for manually overriding the default decoder choice. Redraw at the specified refresh rate. Cameron Gutman 2013-12-26 17:35:53 -05:00
  • 12658f4fb0 Update VideoDecoderRenderer interface with redrawRate and additional configuration flags Cameron Gutman 2013-12-26 17:28:37 -05:00
  • ed92f9d28e Simply discard input events that occur when the thread pool has been shutdown (during connection closure) Cameron Gutman 2013-12-20 15:12:35 -05:00
  • a1440621f9 Fix a race that could crash a few threads in the input thread pool Cameron Gutman 2013-12-20 15:06:56 -05:00
  • 48f8a05bae Increase the default receive buffers for the RTP sockets to avoid dropping packets while the receive thread is suspended by the OS scheduler. Windows uses particularly small (8KB) receive buffers by default which this should work around. Cameron Gutman 2013-12-19 14:50:50 -05:00
  • 163ee74e98 Add options to select between 720p and 1080p resolutions along with 30 fps and 60 fps Cameron Gutman 2013-12-19 05:14:39 -05:00
  • 934e234b74 Update limelight-android for limelight-common changes Cameron Gutman 2013-12-19 04:43:42 -05:00
  • 4701c22b67 Create a StreamConfiguration class and use it to send correct information about the requested resolution and refresh rate to the various streaming components and the target PC. Cameron Gutman 2013-12-19 04:24:45 -05:00
  • 7f841c1fca Allow reuse of the UDP ports to avoid conflicts with GFE Cameron Gutman 2013-12-11 23:33:52 -05:00
  • 4f56dce9f7 add readme Aaron Neyer 2013-12-11 21:12:40 -05:00
  • 25be9e5cf8 updated readme Aaron Neyer 2013-12-09 16:55:12 -05:00
  • 5337e938e0 add license and readme Aaron Neyer 2013-12-09 12:12:03 -05:00
  • 4e9fb1bbce no longer print each time we send a keyboard packet Diego Waxemberg 2013-12-09 11:56:20 -05:00
  • da47b43ad3 added support for all 3 mouse buttons Diego Waxemberg 2013-12-08 16:25:41 -05:00
  • 87152e6403 added support for keyboard modifier keys Diego Waxemberg 2013-12-08 14:44:01 -05:00
  • 895c123b13 removed keyboard packet print statment Diego Waxemberg 2013-12-07 22:14:35 -05:00
  • 35476e2c28 added support for sending keyboard key presses Diego Waxemberg 2013-12-07 21:21:34 -05:00
  • 29909e07e8 added render api for limelight-pc Diego Waxemberg 2013-12-07 20:09:57 -05:00
  • 9ac103187f Fix an off-by-one in fallback interface selection Cameron Gutman 2013-12-05 19:27:46 -05:00
  • 12179a999b Missed uncommenting this. Cameron Gutman 2013-12-05 13:01:43 -05:00
  • 14d093cf06 Remove code shared with limelight-common and implement Android bindings. Cameron Gutman 2013-12-05 12:59:36 -05:00
  • ce1494895e Commit of common limelight core with bindings based on HEAD of RenderScript-Renderer Cameron Gutman 2013-12-05 12:57:49 -05:00
  • 41d2f6b0e2 Create .gitignore Cameron Gutman 2013-12-05 12:54:41 -05:00
  • b0bb8b685c Further optimize the JNI code for faster H264 decoding. Add an experimental RenderScript renderer. Cameron Gutman 2013-11-29 21:06:35 -06:00
  • f4cf83012e Disable Nagle on the control socket. Use a single resync thread rather than spawning a new thread each time. Cameron Gutman 2013-11-28 21:36:51 -05:00
  • fb437f11a0 Always request an IDR frame if packet loss occurs because we don't know if we missed a full frame (partial revert of last commit). Remove the last bit of active NAL parsing. Cameron Gutman 2013-11-28 21:02:31 -05:00
  • b0d138b7f2 Rewrite the NAL depacketizer to run in O(1) time by parsing the proprietary header rather than the H264 bytestream Cameron Gutman 2013-11-28 14:22:12 -05:00
  • a2a4159b0c Also disable non-compliant speed optimizations when prioritizing quality Cameron Gutman 2013-11-26 20:44:10 -05:00