Commit Graph

85 Commits

Author SHA1 Message Date
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 66ec344a31 Remove old reference to ENET_LIBRARIES 2021-07-25 13:25:27 -05:00
Cameron Gutman fc44f010f8 Update SPS fixup code to match current Qt/Android version 2021-07-24 07:39:03 -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 faa7eef9a4 Don't add X509v3 extensions
There is something wrong with the combination of extension we add
that causes OpenSSL to believe these certificates were issued by
a CA and fail to validate them because it can't find the issuing
CA cert.

The certificates work fine without the extensions, so just don't
add them (which is what other Moonlight clients do).
2021-07-24 07:21:52 -05:00
Cameron Gutman 296c8de759 Fix copying rikeyid value 2021-07-24 07:13:55 -05:00
Iwan Timmer d7f9bc0b25 Switch back to upstream moonlight-common-c 2021-07-22 21:04:08 +02: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
Cameron Gutman 519a14a427 Use a SHA256 signature for the client certificate 2019-07-05 13:36:49 -07:00
Cameron Gutman 5f167ce109 Fix SPS length being 4 bytes short 2019-05-01 19:21:05 -07:00
Cameron Gutman 7f4f1cb91e Fix unintended assignment 2019-04-30 19:47:40 -07:00
Cameron Gutman 2f687cc58a Don't modify the decode unit in place 2019-04-30 18:55:18 -07:00
Sauyon Lee 7c21672c94 replace malloc/strcpy pair with strdup to allocate correct size 2018-09-18 12:21:29 -07:00
Iwan Timmer c8195f796c Provide gamepad mask at startup 2018-04-08 11:28:55 +00:00
Cameron Gutman 0810794220 Ignore mDNS responses over IPv6 since this client doesn't support IPv6. Fixes #629 2018-02-27 22:02:03 -08:00
Iwan Timmer 6411150383 Fix for video corruption 2018-01-14 14:06:36 +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 86ee3fd290 Fix enabling C99 on older compilers 2017-11-04 12:29:45 +01:00
Iwan Timmer a0c43053e7 Fix for GFE 3.10 2017-10-24 19:59:33 +02:00
Iwan Timmer 06c3c7aada Readd C_STANDARD property for libgamestream and moonlight-common-c 2017-09-07 11:08:33 +02:00
Iwan Timmer d32b5b656f Set C99 usage globally instead of per target 2017-09-06 22:14:22 +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 8388fea9a6 Fix some build issues for older systems 2017-06-12 13:15:04 +02:00
Iwan Timmer cbf31be73b Add debug option to show http traffic 2017-06-11 18:14:32 +02:00
Iwan Timmer 1ed34ff95d Allocate memory for RSA key 2017-06-11 12:45:12 +02:00
Iwan Timmer 637c4f6923 Update version 2017-06-10 21:07:42 +02:00
Cameron Gutman 5cb4a8cc42 Lower required OpenSSL version to 1.0.2 2017-06-01 10:29:43 -07:00
Iwan Timmer 6a8350caa5 No longer use deprecated RSA generation function 2017-05-28 16:13:09 +02:00
Iwan Timmer 6139d3bc9c Correct header for sps fixes 2017-05-27 17:28:47 +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 d0f9330c90 Implement forward error correction 2017-03-17 18:16:45 +01:00
Iwan Timmer 2c1464cf84 Merge branch 'master' of github.com:irtimmer/moonlight-embedded 2017-03-17 16:44:24 +01:00
Iwan Timmer 9cd90276cb Remove debug statement from gs_pair 2017-03-17 16:22:44 +01:00
tezcatli aa6f297707 Workaround: Disable ssl session id cache. For unknown reason, this feature prevents pairing on yocto fido (not on morty) with GFE 3.3.0.95 2017-02-26 18:48:30 +01:00
tezcatli 5bac18519c Fix-up certificate generation: remove extensions related to certificate authority, add key usages for key exchange and signature. 2017-02-26 18:48:25 +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