2132 Commits

Author SHA1 Message Date
Cameron Gutman
c7f26a179d Add the frame skipping code back for certain decoders (Qualcomm) that are slow when rendering all frames and stall the whole decoder pipeline 2014-02-26 01:56:05 -05:00
Cameron Gutman
4b2552ed64 Set MediaCodec flags on the input buffer based on the DU flags 2014-02-26 01:01:54 -05:00
Cameron Gutman
4fbe93e62d Set flags on the decode units that indicate what type of data the frame contains 2014-02-26 01:00:17 -05:00
Cameron Gutman
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. 2014-02-24 12:54:03 -05:00
Cameron Gutman
ddc70e39c9 Only use direct submit on decoders that have (effectively) infinite input buffers 2014-02-19 22:18:26 -05:00
Cameron Gutman
61c0de6ca1 Update common jar 2014-02-19 21:01:09 -05:00
Cameron Gutman
b0c4d47962 Report direct submit support for the MediaCodec decoder renderer 2014-02-19 21:00:39 -05:00
Cameron Gutman
ccc3eeebe8 Remove the depacketizer thread again... 2014-02-19 20:59:31 -05:00
Cameron Gutman
63ee6ef79a Add support for direct submission of buffers to the renderers without a separate thread 2014-02-19 20:36:53 -05:00
Cameron Gutman
cf3ac50d22 Increase the propensity for generating a loss warning 2014-02-19 20:36:12 -05:00
Cameron Gutman
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. 2014-02-19 19:49:57 -05:00
Cameron Gutman
c537af2273 Render the latest frame available at the time 2014-02-19 19:40:35 -05:00
Cameron Gutman
839540dc74 UI updates to make options more clear. Add scroll view to UI. 2014-02-19 19:22:54 -05:00
Cameron Gutman
22ecdd9cf8 Don't skip frames when rendering 2014-02-19 19:22:00 -05:00
Cameron Gutman
cdf634dc41 Display messages if we detect that the device is having issues streaming 2014-02-19 19:03:51 -05:00
Cameron Gutman
21116f90a7 Remove unused imports 2014-02-17 19:22:49 -05:00
Cameron Gutman
bf1c7dd675 Update common jar 2014-02-17 19:22:23 -05:00
Cameron Gutman
29dd0e172c Fix the new config tuples to work with our current control stream code 2014-02-17 19:18:34 -05:00
Cameron Gutman
2d5083179c Revert "Remove depacketizer thread"
This reverts commit a2a4463c0b684fa54212fe497ac2a8931ebd8821.
2014-02-17 16:14:03 -05:00
Cameron Gutman
a96de39b28 Use packet flags to determine where frames end and begin instead of the packet index 2014-02-17 15:17:20 -05:00
Cameron Gutman
c93812179f Updated config code for artifact-free 1080p60 streaming 2014-02-17 14:27:21 -05:00
Cameron Gutman
426b40ae82 Don't allocate a new BufferInfo object for each output buffer 2014-02-17 14:21:42 -05:00
Cameron Gutman
26809c4b6b Decode parameter set NALs with the slow path so the SPS fixup hack still works 2014-02-17 13:57:15 -05:00
Cameron Gutman
0cce5b021e New video depacketizer that runs in O(1) time 2014-02-17 13:39:18 -05:00
Cameron Gutman
d54c1b07ce Merge pull request #3 from irtimmer/direct_decode
Reassemble NAL's early
2014-02-17 12:14:55 -05:00
Cameron Gutman
1a38cc2c0c Update config based on Shield OTA 68 2014-02-04 09:10:18 -05:00
Aaron Neyer
e188e1dd04 Merge branch 'master' of github.com:limelight-stream/limelight-common into logs
* 'master' of github.com:limelight-stream/limelight-common:
  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."
  Update README.md
  Revert the DU_LIMIT changes due to variance in platform audio rendering speed
  Lower queued decode unit limit to resync faster if the renderers get behind. Lower the audio receive buffer size since it was unneccessarily large.
  Drop code compliance to Java 1.5. Minor annotation changes for 1.5 compliance.
  Remove depacketizer thread
  add gpl
2014-02-02 20:24:50 -05:00
Iwan Timmer
ae18e00b13 Reassemble NAL's early 2014-02-03 00:30:44 +01:00
Cameron Gutman
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."
This reverts commit 255d65b148c21d1f4e9415922013f6ff91f5236a.
2014-01-24 15:33:18 -05:00
Michelle Bergeron
53c7bb0338 Update README.md
Fix broken link to limelight-android
2014-01-24 13:25:03 -05:00
Cameron Gutman
dfa3be78e4 Revert the DU_LIMIT changes due to variance in platform audio rendering speed 2014-01-22 17:08:01 -05:00
Cameron Gutman
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. 2014-01-22 17:01:37 -05:00
Cameron Gutman
46f4f5ccbe Merge pull request #2 from irtimmer/removethread
Remove depacketizer thread
2014-01-22 13:53:55 -08:00
Cameron Gutman
7f851c46f4 Drop code compliance to Java 1.5. Minor annotation changes for 1.5 compliance. 2014-01-22 13:38:24 -05:00
Iwan Timmer
82ae042f1c Remove depacketizer thread 2014-01-22 15:23:38 +01:00
Michelle Bergeron
6683c25a39 Update readme to match Limelight-PC's changes 2014-01-21 16:54:32 -05:00
Aaron Neyer
8ca3aab363 add gpl 2014-01-14 10:03:07 -05:00
Aaron Neyer
f95cd60cfd Created LimeLog as a wrapper around javas logger 2014-01-12 20:23:18 -05:00
Cameron Gutman
ab1e47edb4 Fix retreiving an empty MAC address string on some devices 2014-01-12 19:48:31 -05:00
Cameron Gutman
cd6420deab Update common to fix artifacting v11 2014-01-11 14:41:54 -05:00
Cameron Gutman
6a695d2c72 Fix H264 decoding artifacts when a frame has fewer than 3 bytes of padding at the end 2014-01-11 14:27:46 -05:00
Cameron Gutman
421d73b28a Display a more detailed error when attempting to resume another device's session 2014-01-11 10:43:29 -05:00
Cameron Gutman
b22f68bf1e Update Android Opus decoder for limelight-common changes 2014-01-10 07:56:30 -06:00
Cameron Gutman
46fbee1a3b Only use SPS hack on Tegra devices 2014-01-10 01:05:15 -06:00
Cameron Gutman
81ae7bd638 Update audio code for limelight-common changes 2014-01-10 01:04:42 -06:00
Cameron Gutman
023c5e31ac Update limelight-common 2014-01-10 01:03:58 -06:00
Cameron Gutman
042f67506c Remove the SPS hack from common, since it introduces compatibility problems for some devices 2014-01-10 00:27:35 -06:00
Cameron Gutman
96e5513cdb Fix resync request packet to hopefully keep working longer 2014-01-10 00:00:09 -06:00
Cameron Gutman
cc30752eb7 Only use a socket timeout when handshaking on the control stream. 2014-01-09 23:48:59 -06:00
Cameron Gutman
ade061bf3c Throw a GfeHttpResponseException if an HTTP response has an error code 2014-01-09 23:43:59 -06:00