52 Commits

Author SHA1 Message Date
Cameron Gutman
a907dd0084 Remove unused (and unsafe) function on the ConnectionStatusListener 2016-04-04 01:16:33 -04:00
Cameron Gutman
faa0cba39d Fix input encryption on Gen 7 servers 2016-03-29 18:41:57 -04:00
Cameron Gutman
a8c460e715 Close the ENet connection only after threads that might be using it have been killed 2016-03-07 12:51:48 -08:00
Cameron Gutman
d75e42e23d Fix crashing on connecting to Gen 4 after running a Gen 5 stream 2016-03-06 21:29:06 -08:00
Cameron Gutman
b191425112 Finish packet reading for RTSP and control streams 2016-03-06 15:51:15 -08:00
Cameron Gutman
b3042312f6 Supply the max packet size to EnetConnection.readPacket() 2016-03-05 18:32:50 -06:00
Cameron Gutman
5fd105c9a9 Implement ENet for control and input streams 2016-03-05 17:56:42 -06:00
Cameron Gutman
d9cb5eacf8 Add support for Generation 5 servers (GFE 2.10.2+) 2016-02-19 03:41:03 -05:00
Cameron Gutman
0b9e7aa05b Standardize connection timeouts to 10 seconds 2016-01-04 23:54:25 -06:00
Cameron Gutman
63964ba6a7 Use monotonic system time for all timestamps 2015-08-17 18:33:05 -07:00
Cameron Gutman
8bd6582d07 Fix off by one in reference frame invalidation 2015-08-11 21:33:06 -07:00
Cameron Gutman
c19ff71c9a Add experimental reference frame invalidation support 2015-08-11 21:12:34 -07:00
Cameron Gutman
316b8c56f1 Improve IDR frame requests for Gen 4 servers to use the proper IDR frame request packet 2015-08-04 22:22:53 -07:00
Cameron Gutman
ec39f22ad8 Fix packet type for legacy controller packets and privatize some constants to prevent this bug from happening again 2015-02-02 18:06:05 -05:00
Cameron Gutman
3d29d76cd4 Fix broken streaming on Gen 4 servers 2015-01-25 21:21:58 -05:00
Cameron Gutman
cde5367f38 Tweak network packet loss message and threshold algorithm 2015-01-25 18:37:07 -05:00
Cameron Gutman
aee255a6ee Backwards compatibility for video and control stream to GFE 2.1.x 2015-01-25 17:59:23 -05:00
Cameron Gutman
daf7598774 Use a single context object instead of passing around tons of objects. Start of GFE 2.1.x backwards compatibility. 2015-01-25 17:34:28 -05:00
Cameron Gutman
6acb1fd92a Initial support for GFE 2.2.2+ 2015-01-22 14:13:02 -05:00
Cameron Gutman
1df03e137b Make network packet loss toast more tolerable 2014-11-06 20:40:33 -08:00
Cameron Gutman
7f587dc389 Thread priority tweaks: Ensure renderer threads have higher priorities than the receive threads. Increase the priority of the resync thread to just below the video renderer so the control packet can be emitted ASAP. Lower the priority of the loss stats thread. Increase the priority of the input thread slightly above normal. 2014-10-17 17:03:58 -07:00
Cameron Gutman
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 2014-10-10 18:14:43 -07:00
Cameron Gutman
5bd30fe3dc Suppress connection warnings until 150 frames have come in 2014-09-17 01:58:41 -07:00
Cameron Gutman
7124963c56 Remove unnecessary byte buffer allocations in the most frequent control stream packets 2014-09-15 01:02:33 -07:00
Cameron Gutman
b76495fa8f Send the newer loss stats packet 2014-08-05 22:28:04 -07:00
Cameron Gutman
c84e063114 Update the packet loss message 2014-07-19 22:49:47 -07:00
Cameron Gutman
a4e6738353 Update the A/V loss message 2014-05-12 19:42:00 -05:00
Cameron Gutman
0c8c108bd1 Add support for sending proper packet loss statistics for server-side bandwidth scaling 2014-05-11 18:49:20 -05:00
Cameron Gutman
92adbe0983 Update control protocol for GFE 2.0.1 2014-05-06 23:31:09 -04:00
Cameron Gutman
d01a28c57f Initial work on updating for GFE 2.0.1's new RTSP-based handshake protocol 2014-05-06 21:18:57 -04:00
Cameron Gutman
7947d8b75d Add the config hack to make 1080p30 work with the CPU decoder 2014-04-07 18:52:17 -04:00
Cameron Gutman
3408e467d5 Fix starting AV stream on GFE 2.0 2014-04-07 18:51:57 -04:00
Cameron Gutman
4cbaee6806 Change the transient message when loss is experienced to clarify the actions the user should take 2014-03-03 19:41:23 -05:00
Cameron Gutman
da1c350067 Tweak warning thresholds after reducing the amount of frame invalidations requested 2014-02-27 02:07:53 -05:00
Cameron Gutman
50e7deeb32 Merge branch 'master' into logs
Conflicts:
	src/com/limelight/nvstream/av/audio/AudioDepacketizer.java
	src/com/limelight/nvstream/av/video/VideoDepacketizer.java
	src/com/limelight/nvstream/control/ControlStream.java
2014-02-26 16:22:04 -05:00
Cameron Gutman
7e3acd0213 Merge pull request #4 from irtimmer/config_javadoc
Config tuples meanings
2014-02-26 12:14:13 -05:00
Cameron Gutman
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. 2014-02-26 12:12:06 -05:00
Iwan Timmer
c733be5611 Add Javadoc about config tuples 2014-02-26 16:17:25 +01: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
cf3ac50d22 Increase the propensity for generating a loss warning 2014-02-19 20:36:12 -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
29dd0e172c Fix the new config tuples to work with our current control stream code 2014-02-17 19:18:34 -05:00
Cameron Gutman
c93812179f Updated config code for artifact-free 1080p60 streaming 2014-02-17 14:27:21 -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
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
Aaron Neyer
f95cd60cfd Created LimeLog as a wrapper around javas logger 2014-01-12 20:23:18 -05: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