Commit Graph

104 Commits

Author SHA1 Message Date
Cameron Gutman f7520ba40c Move encryption enablement logic into JNI code 2024-01-15 14:59:01 -06:00
Cameron Gutman 7b13f12817 Update moonlight-common-c with new encryption support 2024-01-15 14:54:59 -06:00
Cameron Gutman a18aa26985 Update moonlight-common-c to remove per-codec bitrate adjustments 2023-12-03 22:20:30 -06:00
Cameron Gutman 5443cc014a Add support for ECDSA server keys 2023-11-29 22:37:12 -06:00
Cameron Gutman 7d77e1c1f2 Don't hardcode signature length 2023-11-29 22:32:00 -06:00
Cameron Gutman ca82cd9752 Use generic PrivateKey type rather than RSAPrivateKey 2023-11-29 22:20:50 -06:00
Cameron Gutman 2243cf2017 Rewrite NsdManagerDiscoveryAgent lifecycle to avoid listener reuse 2023-10-07 20:42:13 -05:00
Cameron Gutman 2636d79b86 Fix handling of ACTION_CANCEL for multi-pointer gestures 2023-08-03 02:29:55 -05:00
Cameron Gutman 554fee037c Fix race condition when stopDiscovery() is called during onServiceFound()/onServiceLost() 2023-07-25 18:46:31 -05:00
Cameron Gutman 67b2853ef0 Add contact area and orientation for pen/touch events 2023-07-22 17:18:57 -05:00
Cameron Gutman 38588402e3 Use NsdManager for mDNS discovery on Android 14 2023-07-11 19:58:50 -05:00
Cameron Gutman 67f344b755 Move serverCodecModeSupport into SERVER_INFORMATION struct 2023-07-02 23:56:34 -05:00
Cameron Gutman f1bcc217a9 Update to new HDR support option in moonlight-common-c 2023-07-02 23:48:19 -05:00
Cameron Gutman 3a78095574 Initial implementation of AV1 2023-07-02 22:49:42 -05:00
Cameron Gutman 4e1b778f31 Import some SDL code and use it for controller classification
Imported as of 4aee17b039981f2bb79892f3d3e3e17bd6b66530
2023-07-02 20:20:55 -05:00
Cameron Gutman d4079940b4 Implement controller LED and battery state extensions 2023-07-02 19:03:31 -05:00
Cameron Gutman 803ad116fb Pull in latest moonlight-common-c change 2023-06-28 17:28:41 -05:00
Cameron Gutman 0d72a0e009 Implement latest pen/touch protocol updates 2023-06-27 22:21:39 -05:00
Cameron Gutman 6bf9c31860 Pull in updated moonlight-common-c pen/touch APIs 2023-06-24 21:29:44 -05:00
Cameron Gutman ddefda3afa Plumb new Sunshine protocol extensions 2023-06-24 15:19:50 -05:00
Timothy Lusk 46f887efec Add host processing latency to performance stats overlay 2023-06-24 14:19:05 -05:00
Cameron Gutman f659af29da Fix mDNS detection of hosts with the same IP address
This is the case for PCs running GFE and Sunshine side-by-side.
2023-02-25 20:29:51 -06:00
Cameron Gutman d36b73fc1b Fix crash with IPv4-mapped IPv6 addresses 2023-02-20 23:31:53 -06:00
Cameron Gutman 02d0ad496f Fix error message being displayed even after successful WoL 2023-02-20 23:01:46 -06:00
Cameron Gutman 80acd9b9eb Modernize HTTPS launch/resume for Sunshine 2023-02-20 22:04:41 -06:00
Cameron Gutman b961636f02 Plumb HDR metadata into MediaCodec 2023-02-20 21:42:45 -06:00
Cameron Gutman f4df0714b5 Implement horizontal scrolling with Sunshine 2023-02-20 19:56:01 -06:00
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