Commit Graph

71 Commits

Author SHA1 Message Date
Jose Fernandez f32e415aea libgamestream: fix uniqueid.dat read check
fread(unique_id, UNIQUEID_CHARS, 1, fd) returns the number of items
read (1 on success), not bytes, so the != UNIQUEID_CHARS comparison is
always true. Any existing uniqueid.dat is silently ignored and
rewritten with the default 0123456789ABCDEF on every run, making a
custom per-device uniqueid impossible.
2026-06-05 22:28:35 -05:00
Cameron Gutman ab9999c7a3 Avoid directly accessing internals of ASN1_BIT_STRING 2026-03-28 13:57:22 -05:00
skysbird 5f7f0ec75b Fix incorrect ret value assignment (#900) 2025-11-28 16:27:01 -06:00
Cameron Gutman 014af67397 Fix build warnings 2024-02-19 22:01:31 -06:00
Cameron Gutman 02cddf762b Update moonlight-common-c with new encryption support 2024-01-15 17:33:30 -06:00
Cameron Gutman 000d9da4a0 Don't hardcode the signature length 2023-11-29 23:48:09 -06:00
Cameron Gutman ab53f149f2 Update moonlight-common-c with Sunshine extensions 2023-08-29 20:46:35 -05:00
Cameron Gutman 8384a243b2 Modernize HTTPS launch/resume for Sunshine 2023-02-21 23:46:31 -06:00
Cameron Gutman 1feeab9c71 Fix more warnings 2022-11-20 20:41:21 -06:00
Cameron Gutman 098f53cd0b Fix several build warnings and minor bugs 2022-11-20 19:34:19 -06:00
Cameron Gutman c2f21b955d Implement foundation for HDR support
Likely not functional for any decoder yet
2022-11-08 19:40:03 -06:00
Cameron Gutman f021439d1b Allow a pairing attempt even if the PC is busy
Pairing while busy doesn't work with GFE but works with Sunshine
2022-10-12 22:28:30 -05:00
Cameron Gutman 0a9cadb729 Remove unused variable 2022-09-23 22:52:53 -05:00
Cameron Gutman 0325a3b88c Add support for custom ports with Sunshine 2022-09-23 22:48:43 -05:00
Cameron Gutman 3f00f25a39 Store port information in SERVER_DATA 2022-09-23 22:12:03 -05:00
Cameron Gutman 5fe7b36b40 Reduce use of magic numbers 2022-04-21 23:31:04 -05:00
Cameron Gutman d74cc63038 Fix stack buffer overflow in pairing process 2022-04-21 23:06:31 -05:00
Cameron Gutman 039040e247 Replace usage of functions deprecated in OpenSSL 3.0 2022-04-21 23:04:23 -05:00
Cameron Gutman 0cfc557c9c Don't fail if SOPS isn't supported at the current resolution 2021-07-25 15:01:46 -05:00
Cameron Gutman 1478d69123 Pass RTSP session URL to moonlight-common-c 2021-07-25 14:22:39 -05:00
Cameron Gutman e84ae26ccc Avoid needless EVP_get_digestbyname() and EVP_DigestInit_ex() calls 2021-07-24 07:27:03 -05:00
Cameron Gutman 296c8de759 Fix copying rikeyid value 2021-07-24 07:13:55 -05:00
Mariotaku Lee 660cc7de41 Added missing import 2021-04-29 03:56:45 +09:00
Mariotaku Lee a97b2cc3af Randomized input IV 2021-04-29 03:43:40 +09:00
KiralyCraft 338063fc2c Changed random Client ID to the same as official Moonlight 2021-04-21 19:39:37 +02:00
Cameron Gutman 957bc49da9 Fix frame rate locked to 60 FPS with GFE 3.20.3 2020-05-25 21:38:14 -07:00
Cameron Gutman 0c6f98e544 Fix surround sound on a resumed session 2020-04-23 19:29:07 -07:00
Iwan Timmer 7f856d3284 Warn about unsupported resolutions in combination with SOPS
When using unsupported resolutions SOPS will default to 720p60
2020-03-17 22:37:18 +01:00
Iwan Timmer a66d75b145 Sent max FPS value of 60 when using SOPS
SOPS defaults to 720p60 when using FPS values higher than 60.
This FPS value isn't used for the actual stream so higher FPS is still working.
2020-03-17 22:29:32 +01:00
Hugo Hromic 434dba31de General codebase clean-ups (no code changes)
* Remove trailing spaces
* Replace TABs with spaces
* Add missing indentation
2019-10-05 19:13:24 +01:00
Iwan Timmer c8195f796c Provide gamepad mask at startup 2018-04-08 11:28:55 +00:00
Iwan Timmer a4b6de139a Use PATH_MAX and memory safe string operations in libgamestream 2017-12-19 19:37:59 +01:00
Iwan Timmer a0c43053e7 Fix for GFE 3.10 2017-10-24 19:59:33 +02:00
Iwan Timmer 1b8ac983e5 Check status code for GS api requests 2017-08-06 22:06:55 +02:00
Iwan Timmer 2c35e70cc0 Use --unsupported option also for unsupported resolutions 2017-06-16 21:49:10 +02:00
Iwan Timmer cbf31be73b Add debug option to show http traffic 2017-06-11 18:14:32 +02:00
Iwan Timmer 764ece15e2 Correct 4k server capability check 2017-05-27 16:56:20 +02:00
Iwan Timmer 0e1cabbd82 Check display mode before streaming 2017-05-27 16:41:52 +02:00
Iwan Timmer 7e73de80b3 Get additional server information 2017-05-27 16:10:59 +02:00
Iwan Timmer d46fe49c57 Compatability fixes for OpenSSL 1.1 2017-04-26 20:00:50 +02:00
Iwan Timmer 9cd90276cb Remove debug statement from gs_pair 2017-03-17 16:22:44 +01:00
Iwan Timmer d00829b69a Update moonlight-common-c 2016-10-06 12:23:28 +02:00
Unknownforce351 de2d581bef Fix compile warning 2016-04-26 13:46:33 -05:00
Iwan Timmer b30cf20f8c Check protocol version 2016-04-01 19:13:16 +02:00
Iwan Timmer 3c4cc4af69 Remove debug statements 2016-04-01 18:41:21 +02:00
Iwan Timmer f2ada1fa20 Verify server signature 2016-04-01 14:36:09 +02:00
Iwan Timmer 61812554c5 Unpair when pairing failed 2016-04-01 14:36:04 +02:00
Cameron Gutman 86532497ef Fix pairing and streaming from Gen 7 servers 2016-04-01 01:30:37 -04:00
Cameron Gutman c6c4e5102c Fix build with new moonlight-common-c source layout 2016-04-01 00:31:32 -04:00
Iwan Timmer 7c4768593c Pairing support for Gen 7 servers 2016-03-29 11:39:00 +02:00