Cameron Gutman
7af290b6e1
Implement support for non-default ports with Sunshine
...
Fixes #1115
2022-11-06 17:36:46 -06:00
Cameron Gutman
a896f9a28f
Use the HTTPS port specified in the serverinfo response
2022-11-06 15:44:37 -06:00
Cameron Gutman
ea003483c4
Plumb port numbers from mDNS discovery
2022-11-06 14:41:02 -06:00
Cameron Gutman
5b73317e30
Fix error handling if the server address cannot be resolved
2022-11-06 14:34:31 -06:00
Cameron Gutman
99fcd3c669
Improve LAN/WAN detection for IPv6 and cellular connections
2022-11-03 22:19:48 -05:00
TacoTheDank
a96e508ffb
Use try-with-resources
2022-10-31 00:33:09 -05:00
Cameron Gutman
51594e00b8
Revert "Use Rec 2020 colorspace for WCG support even if HDR is off on the host"
...
Rec 2020 conversion causes colors to be blown out in SDR
This reverts commit 6c85f5f8c3 .
2022-10-13 01:18:26 -05:00
Cameron Gutman
6c85f5f8c3
Use Rec 2020 colorspace for WCG support even if HDR is off on the host
2022-10-13 00:52:45 -05:00
Cameron Gutman
d0432de981
Plumb colorspace and color range into MediaCodecDecoderRenderer
2022-10-13 00:51:15 -05:00
Cameron Gutman
aa6c32968b
Add a special termination message for ML_ERROR_FRAME_CONVERSION
2022-10-04 19:51:49 -05:00
Cameron Gutman
b653694860
Request unbuffered input events to reduce input latency
2022-09-06 19:09:31 -05:00
Cameron Gutman
ffd6fab35c
Prevent use of proxies
2022-06-25 14:18:38 -05:00
Cameron Gutman
982b36cf98
Adjust app details text for new HDR behavior
2022-06-09 20:25:37 -05:00
Cameron Gutman
531f73329d
Quiet down excessive exception logging in debug builds
2022-06-04 15:33:12 -05:00
Cameron Gutman
82619063ee
Plumb frame type information into the decoder
2022-05-29 21:58:28 -05:00
Cameron Gutman
6a34ff2728
Rewrite AES pairing functions to avoid Play Store's ECB warning
...
ECB is safe in this context because it's encrypting one-time messages
using a one-time key. All input data going through encryptAes() is
either random or partially random and passed through a secure hashing
function (SHA-256 on modern GFE versions).
Message authentication is not a concern either, because it is performed
by the pairing process itself via RSA signature verification. Any
ciphertext tampering would cause signature verification to fail later in
the pairing process.
2022-05-29 14:38:56 -05:00
Cameron Gutman
b3700b5a19
Plumb LiSendMouseMoveAsMousePositionEvent() into JNI
2022-05-28 15:21:58 -05:00
Cameron Gutman
8ffc3b80b2
Rework use of URLs in NvHTTP
...
- Fixes parsing inconsistencies between URI and HttpUrl
- Fixes a couple of serverinfo requests sent without uniqueid and UUID
- Avoids PairingManager having to look into NvHTTP internals
2022-05-22 16:47:45 -05:00
Cameron Gutman
ac7c5c1064
Improve handling of required XML tags
2022-05-20 17:15:26 -05:00
Cameron Gutman
7552181e24
Plumb setHdrMode callback into MediaCodecDecoderRenderer
2022-02-12 14:31:25 -06:00
Cameron Gutman
ae9282b0af
Plumb UTF-8 text support through to NvConnection
2021-08-10 00:14:13 -05:00
Cameron Gutman
6cedb9019c
Pass RTSP session URL to moonlight-common-c for dynamic ports
2021-07-02 17:41:07 -05:00
Cameron Gutman
8ac5768f4f
Change H.265 to HEVC to match other clients
2021-06-12 11:00:30 -05:00
Cameron Gutman
e79c12a038
Add network latency to performance overlay
2021-05-15 16:56:19 -05:00
Cameron Gutman
72f37c9df4
Enable audio stream encryption
2021-04-23 19:38:24 -05:00
Cameron Gutman
e74517543d
Update common-c for initial GFE 3.22 compatibility
2021-04-09 19:32:39 -05:00
Cameron Gutman
b1f453f7ba
Charge time spent in the decode unit queue to the decoder rather than receive time
2020-12-31 16:35:49 -06:00
Cameron Gutman
35201b69f6
Add specific error text for an early termination
2020-12-24 11:32:10 -06:00
Cameron Gutman
b392d7f8e3
Add option to stream at device native resolution
...
Fixes #155
2020-12-23 16:17:06 -06:00
Cameron Gutman
7b26852a1f
Use LiStringifyPortFlags() instead of coding it ourselves
2020-12-23 14:19:19 -06:00
Cameron Gutman
0a0e3ff970
Don't trim XML strings
...
We should display the apps exactly as reported in GFE.
2020-11-21 17:09:34 -06:00
Cameron Gutman
1aae65575c
Add warning if no key frames can be received in 10 seconds
2020-08-29 21:27:44 -07:00
Cameron Gutman
c9eddab191
Remove UDP 7 and add UDP 47009 for WoL
2020-08-09 14:40:44 -07:00
Cameron Gutman
9669da026f
Test network when the connection terminates due to lack of video traffic
2020-08-06 22:01:45 -07:00
Cameron Gutman
770f1a1ca0
Add network connection test
2020-08-01 22:19:40 -07:00
Cameron Gutman
05547c22ec
Use SecureRandom for PINs
2020-07-12 12:16:11 -07:00
Cameron Gutman
704a2ee90b
Propagate exceptions caused by GFE response parsing errors
2020-07-07 00:57:37 -05:00
Cameron Gutman
484be9bfe6
Wrap and propagate unexpected exceptions
2020-07-07 00:52:11 -05:00
Cameron Gutman
a99e070c26
Fix missing return causing invalid parameters to be passed to LiStartConnection()
2020-07-07 00:47:12 -05:00
Cameron Gutman
bf803f88af
Refactor TLS initialization code
2020-07-06 02:32:06 -05:00
Cameron Gutman
9af6febca5
Fix pairing issue due to picking up a final local variable instead of a class member
2020-07-06 02:30:49 -05:00
Cameron Gutman
0101d0a1bd
Fix TLS error when connecting to GFE 3.20.4 on Android 4.x
2020-07-06 01:44:35 -05:00
Cameron Gutman
266874609d
Fix hostname validation for CA-issued certificates
2020-07-04 20:09:06 -05:00
Cameron Gutman
2329b41bce
Rethrow the original validation error if the cert isn't pinned or self-signed
2020-06-29 11:29:33 -07:00
Cameron Gutman
536496184e
Use the default X509TrustManager to validate non-pinned certificates
...
This allows the certificate to be rotated without re-adding the PC.
2020-06-29 11:20:14 -07:00
Cameron Gutman
1149002e0c
Improve PC and game details dialogs
2020-06-11 20:36:59 -07:00
Cameron Gutman
4a1177d048
Use a better workaround for the GFE 3.20.3 high FPS bug
2020-05-25 19:28:00 -07:00
Cameron Gutman
4725d8f270
Revert "Disable SOPS for streams over 60 FPS for GFE 3.20.3"
...
This reverts commit 63072aa8e1 .
2020-05-25 19:24:33 -07:00
Cameron Gutman
cc877480ff
Add an option for absolute touch mode
2020-05-11 23:53:49 -07:00
Cameron Gutman
15aa7ecc2e
Add a friendly error message when no video traffic is received
2020-05-01 21:54:26 -07:00