Cameron Gutman
91dd7b7049
Plumb non-normalized key flag extension for Sunshine
2023-02-20 19:52:52 -06:00
Karim Mreisi
121bef7d2d
fix: use address and port for details hash
2023-02-20 13:32:55 -06:00
Cameron Gutman
b47f3ef397
Remove input batching to replace with common-c implementation
2023-02-20 13:19:59 -06:00
Cameron Gutman
1b9dff719c
Remove most NVIDIA-specific references in code
2023-02-11 14:25:54 -06:00
Cameron Gutman
ec57499e08
Handle escaping and unescaping IPv6 addresses in AddressTuple
2022-12-01 18:26:40 -06:00
luten145
26bff28e4d
Added MetaKey(WindowKey) Packet
...
Allows you to use Windows key combinations.
ex) Win+Tab , Win+D
2022-11-13 17:15:22 -06:00
Cameron Gutman
392e3c7fe3
Increase connection timeouts when the PC is presumed to be online
2022-11-09 20:22:07 -06:00
Cameron Gutman
57f55e6856
Use the current HTTP port as the default if ExternalPort doesn't exist
2022-11-09 19:56:46 -06:00
Cameron Gutman
de54b27013
Plumb HTTPS port into the Game activity to avoid having to look it up again
2022-11-09 19:55:42 -06:00
Cameron Gutman
6a8486a076
Fix propagation of external port after guessing
2022-11-06 18:06:18 -06:00
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