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
Cameron Gutman
ce9e91153e
Add special error text for the -1 launch error code
2020-04-25 16:10:44 -07:00
Cameron Gutman
20dc351f4c
Fix parsing rare GFE status code of 0xFFFFFFFF
2020-04-23 18:47:01 -07:00
Cameron Gutman
2be2c95212
Avoid crashing if we get an invalid status code back from GFE
2020-04-18 22:46:21 -07:00
Cameron Gutman
e7aeeb8bd5
Fix one more place where the HTTP error code was lost
2020-04-18 18:03:29 -07:00
Cameron Gutman
73df93f86a
Display the error code correctly for HTTPS errors
2020-04-18 17:47:27 -07:00
Cameron Gutman
6f79c52fc5
Plumb sendMousePosition() through to moonlight-common-c
2020-04-17 22:37:09 -07:00
Cameron Gutman
63072aa8e1
Disable SOPS for streams over 60 FPS for GFE 3.20.3
2020-04-12 12:13:38 -07:00
Cameron Gutman
49a1524f4f
Refactor audio configuration in preparation for 7.1 surround sound
2020-04-03 17:47:57 -07:00
Cameron Gutman
a4b86eefe2
Change errorCode from long to int to fix 32-bit platforms
2020-02-24 23:24:22 -08:00
Cameron Gutman
3011a5bad7
Use the unmodified FPS value when sending the launch request
2020-02-22 01:28:41 -08:00
Cameron Gutman
5f5944c237
Improve low bandwidth audio performance and fix RTSP issues with broken PMTUD
2019-11-30 22:14:32 -06:00
Cameron Gutman
c025432ad6
Support 20 ms audio frames
2019-11-29 18:04:57 -06:00
Cameron Gutman
c0d3f9fa48
Abort pairing if another pairing attempt is in progress
2019-11-04 20:27:05 -08:00
Cameron Gutman
5da0177356
Convert tabs to spaces
2019-10-19 23:59:33 -07:00