60 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
90fc5797d5 Fix NvApp constructor 2015-02-27 14:11:15 -05: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
fe907b0271 Handle NumberFormatExceptions from parseInt() 2015-02-11 17:24:27 -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
9772049295 Initialize the app name to empty string because it may not be present 2015-02-09 00:09:40 -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
c2cdb1264d Remove equals and hashCode from computer details 2014-11-17 19:00:07 -08: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
ae79f03e61 Add a hashCode function for ComputerDetails 2014-11-02 14:22:03 -08:00
Cameron Gutman
77a587abe8 Fix box art URL 2014-10-22 21:24:11 -04:00
Cameron Gutman
22865b8af4 Don't localize the PIN string 2014-10-05 15:46:09 -07: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
aaa73eb196 Fix a bug in the update function 2014-07-04 14:39:28 -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