52 Commits

Author SHA1 Message Date
Cameron Gutman
5b355a3e73 Fail quitApp() if the session isn't ours 2016-09-20 14:35:06 -07:00
Cameron Gutman
4f53cfcb20 Only use 4K on GFE 3.x 2016-08-13 13:24:31 -07:00
Cameron Gutman
8b395bb29f Pairing support for Gen 7 servers 2016-03-28 18:38:11 -04:00
Cameron Gutman
d7d90e8e49 Encode the surround sound information in the launch request parameters 2016-01-08 01:01:58 -06:00
Cameron Gutman
b91ab53219 Connection reuse is broken in GFE's server (requests always get reissued on a new connection) so just turn it off 2016-01-02 17:34:29 -06:00
Cameron Gutman
6eeb7ae5b2 Add UUID on serverinfo and add a TODO for HTTP serverinfo 2016-01-02 16:50:22 -06:00
Cameron Gutman
0436179020 Use UUID string in pairing and switch to HTTP for pairing (like Shield Hub) 2016-01-02 16:47:10 -06:00
Cameron Gutman
c92cae51c8 Add UUID to URL queries (like recent Shield Hub version do) 2016-01-02 16:30:24 -06:00
Cameron Gutman
57da68c0e2 Remove uniqueId parameter from NvHTTP.getServerInfo 2016-01-02 16:28:58 -06:00
Cameron Gutman
67dc2ef9ab Properly handle 4K detection on GFE 2.8 2015-12-16 16:39:38 -08:00
Cameron Gutman
5112179fca Check for GFE version attribute before enabling 4K 2015-12-13 12:18:42 -08:00
Cameron Gutman
4c67631ea5 Add negotiation logic for 4K and H.265 2015-12-12 17:18:15 -08:00
Cameron Gutman
260d716eb8 Fix broken app launching and resuming on GFE 2.8 2015-11-11 16:28:58 -08:00
Cameron Gutman
469dcab5c7 Revert "Allow more time for the SSL handshake to take place"
This reverts commit dfde7b136e37fc9d8249bf758858b9da6c61c489.
2015-10-11 14:54:18 -07:00
Cameron Gutman
fd1cb52f5f Allow more time for the SSL handshake to take place 2015-10-10 18:13:11 -07:00
Cameron Gutman
13ec16c606 Update for GFE 2.4.5.54 support. The HTTPS /serverinfo query is now only available to paired clients. As a result, we catch the cert validation error and failover to HTTP. It's ugly but I don't see another way to do it. 2015-06-15 10:22:00 -07:00
Cameron Gutman
d71cbe344a Fix missing closes of Closeables caught by StrictMode 2015-03-29 23:00:41 -04:00
Cameron Gutman
fcfcce88dd Use an NvApp in the StreamConfiguration so it can be directly used by NvConnection 2015-02-27 14:08:39 -05:00
Cameron Gutman
fb8fc54bb1 Use App IDs for app lookups and deprecate the old name-based lookup function 2015-02-27 13:29:41 -05:00
Cameron Gutman
a4ec619e5a Add back the capability to get box art with NvHTTP 2015-02-27 01:15:21 -05:00
Cameron Gutman
8fb2622b66 Throw an exception if the received app list XML was incomplete 2015-02-26 17:58:03 -05:00
Cameron Gutman
e6527de786 Trim strings retrieved from the applist XML 2015-02-25 19:56:56 -05:00
Cameron Gutman
3f7e4d817f Allow verbose mode to be enabled at runtime 2015-02-25 19:56:20 -05:00
Cameron Gutman
6eaabc84aa Improve verbose debugging 2015-02-25 19:55:16 -05:00
Cameron Gutman
7ae74a6a18 Never return an NvApp object that has no app ID assigned 2015-02-09 00:10:56 -05:00
Cameron Gutman
9988330613 Add some new common functions for app list caching 2015-01-30 18:27:15 -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
022a08f5a1 Throw proper exceptions when an HTTP request fails 2014-11-13 21:56:07 -08:00
Cameron Gutman
7bc325fa08 Add an Android TLS hack to fix GFE 2.1.4 and migrate to OkHttp classes for HTTPS 2014-11-10 21:58:03 -08:00
Cameron Gutman
b0169b0edf Use a builder for StreamConfiguration to avoid further breaking changes to the constructor. Add support for local audio playback mode. 2014-11-02 20:52:09 -08:00
Cameron Gutman
77a587abe8 Fix box art URL 2014-10-22 21:24:11 -04:00
Cameron Gutman
ed8857552b Raise read timeout to 5 seconds and connect timeout to 3 seconds to avoid some spurious timeouts 2014-09-27 20:05:33 -07:00
Cameron Gutman
5f42ca66fe Add read timeouts to HTTP requests that should come back immediately if GFE is working properly 2014-09-27 15:45:13 -07:00
Cameron Gutman
14c03f0b37 Improve connection negotiation speed by caching serverinfo 2014-09-19 18:57:20 -07:00
Cameron Gutman
ae8cb18f63 Remote input encryption changes for GFE 2.1.1 2014-07-31 00:22:17 -07:00
Cameron Gutman
9e385215ce Add support for selecting sops on or off 2014-07-21 22:49:57 -07:00
Cameron Gutman
0019b93e8d Stop GFE from changing game settings 2014-07-19 21:42:16 -07:00
Cameron Gutman
dcb3e1c0e4 Fix a few parsing issues with the serverinfo XML 2014-07-04 11:49:48 -07:00
Cameron Gutman
894110ba08 Wake on LAN support. Many fixes for Limelight Android 2.5. 2014-07-03 23:30:29 -07:00
Cameron Gutman
ec303e485f Add a function to retrieve box art for an NvApp 2014-06-29 23:49:06 -07:00
s0ckz
c23470af40 Merge with upstream 2014-06-22 00:37:32 -03: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
s0ckz
636c5f17f5 Different apps support and bug resolved
There was a bug that prevented the app from running again if it was
minimized. My solution is try to quit it before starting it again.
2014-05-30 20:05:46 -03: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
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
ade061bf3c Throw a GfeHttpResponseException if an HTTP response has an error code 2014-01-09 23:43:59 -06:00