Commit Graph

110 Commits

Author SHA1 Message Date
Cameron Gutman c9e5230e37 Allow configuration of maximum packet size 2014-06-22 17:06:28 -07:00
Cameron Gutman 86e2657613 Stop allocating RtpPacket and VideoPacket objects in the reassembly path 2014-06-22 13:52:40 -07:00
Cameron Gutman 6c5ec3d2e9 Store the timestamp of the first packet received in the decode unit 2014-06-19 19:09:00 -07:00
Cameron Gutman 38423a9f37 Refactor the video decoding path so the DecoderRenderer handles pulling decode units instead of dedicating a separate thread for this 2014-06-19 18:28:48 -07:00
Cameron Gutman 7b10e52808 Set the receive thread's priority to maximum 2014-06-15 20:38:28 -07:00
Cameron Gutman 890ee846f7 Move Base64 encoding responsibilities out to the CryptoProviders for Android 2014-06-15 20:11:34 -07:00
Cameron Gutman 6a92ea74fc Cleanup and bugfix pairing code. 2014-06-15 18:54:32 -07:00
Cameron Gutman 07cf96c5ce Add support for secure pairing and input encryption to fix GFE 2.1 compatibility.
TODO:
Needs a LimelightCryptoProvider implementation for each platform to work.
Untested (and probably broken) on Android.
Needs more testing in general, especially in corner cases.
2014-06-15 04:40:47 -07:00
Cameron Gutman 4a2ee91700 Update Jar 2014-05-23 00:06:22 -04:00
Cameron Gutman 8e9d605248 Clamp to min = max so we can eliminate the time taken to scale the bitrate up to the ceiling 2014-05-12 20:00:52 -05:00
Cameron Gutman a4e6738353 Update the A/V loss message 2014-05-12 19:42:00 -05:00
Cameron Gutman 0f815a0085 Fix variable names in the ConnectionStatusListener interface 2014-05-12 19:41:04 -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 04941212cd Tweak some config to improve QoS when streaming 1080p30 over a so-so connection 2014-05-11 13:51:35 -04:00
Cameron Gutman 9ad45a3ca3 Update TinyRTSP Jar to work on Java 1.6 2014-05-11 13:40:58 -04:00
Cameron Gutman 176c8e9b93 Remove the deviceName field to fix a warning 2014-05-11 13:33:51 -04:00
Cameron Gutman f537588228 Don't use the devicename parameter when pairing anymore. It's not using since GFE 2.0.0 and it can cause problems if invalid characters get added to the URL 2014-05-11 13:31:04 -04:00
Cameron Gutman e593c04001 Increase the size of the receive buffer for video data 2014-05-11 13:29:51 -04:00
Cameron Gutman 1095d7808c Increase the size of the video ring buffer for high bitrate streaming 2014-05-11 13:29:20 -04:00
Cameron Gutman d29dccba69 Stick to the older minimum when not using 1080p60 2014-05-07 23:56:38 -04:00
Cameron Gutman a4098919b9 Add support for selecting maximum stream bitrate 2014-05-07 02:11:46 -04:00
Cameron Gutman 09e7ff0582 Update TinyRTSP 2014-05-07 00:23:16 -04:00
Cameron Gutman 09177be8f7 Drop the maximum bitrate of 720p60 to 13 Mbps 2014-05-07 00:22:57 -04:00
Cameron Gutman eaa08bada4 Convert byte[] to char[] manually since IBM437 isn't available on some platforms 2014-05-07 00:22:32 -04:00
Cameron Gutman 5f93d55dab Don't convert IP string back into an InetAddress just leave it an InetAddress 2014-05-06 23:54:03 -04:00
Cameron Gutman dfc0d518f8 Display an error if the PC is running a GFE version less than 2.0.1. 2014-05-06 23:40:09 -04:00
Cameron Gutman eace3a0bf0 Update config to fix 720p60 and 1080p 2014-05-06 23:31:36 -04:00
Cameron Gutman 92adbe0983 Update control protocol for GFE 2.0.1 2014-05-06 23:31:09 -04:00
Cameron Gutman aadbc3dd01 Update TinyRTSP 2014-05-06 21:31:36 -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 4ee99a78b2 GFE 2.0.1 appears to have a bug where it drops all paired devices when the serverinfo query is sent with a uniqueid argument. Stop doing that to fix Limelight with GFE 2.0.1. 2014-05-06 10:21:17 -04:00
Cameron Gutman bd9b37a5a0 Fix IPv6 incompatibility in HTTP code due to using raw IPv6 addresses in string format 2014-04-13 20:22:53 -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 a0237a19d9 Remove duplicate code 2014-04-07 18:51:01 -04:00
Cameron Gutman eb15599c01 Only increment the ring index if data was successfully queued 2014-03-17 14:20:43 -04:00
Cameron Gutman 8c9d0d171c Use ring buffers for audio and video handling to remove the last large allocations that were happening very frequently 2014-03-17 13:38:49 -04:00
Cameron Gutman a39f4c5eab Use a single decoded audio buffer for direct submit audio renderers 2014-03-16 18:13:42 -04:00
Cameron Gutman 239dffcbdf Slightly reduce memory/GC pressure by using a smaller per-packet buffer of 1050 bytes instead of 1500 bytes 2014-03-13 21:53:52 -04:00
Cameron Gutman 3af3df0544 Reduce GC pressure significantly by using a single 100 byte buffer for all audio data instead of allocating 1500 bytes for each audio packet received 2014-03-13 21:53:10 -04:00
Cameron Gutman 7e30d043eb Fix handling packet loss in the second of a split frame 2014-03-13 01:31:47 -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 8297ca7e85 Change LimeLog.info() back to calling Logger.info() internally so info messages are displayed by default 2014-03-03 19:40:02 -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 c8c7512600 Hack around an issue where data gets added after the frame is thrown away 2014-02-27 01:31:07 -05:00
Aaron Neyer 9b6e12497e Make info log fine so it doesnt go to stdout 2014-02-26 20:53:11 -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