Commit Graph

758 Commits

Author SHA1 Message Date
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 b4ef1dde42 Update urls in docs 2021-07-22 21:10:24 +02:00
Iwan Timmer d7f9bc0b25 Switch back to upstream moonlight-common-c 2021-07-22 21:04:08 +02:00
irtimmer 8f4d9aa5ee Merge pull request #816 from mariotaku/master
Randomized input IV
2021-07-20 18:34:33 +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
irtimmer 7c8795febc Merge pull request #814 from mariotaku/master
Fixed trigger left/right range
2021-04-21 19:41:51 +02:00
Iwan Timmer 5baa2c9023 Merge branch 'clientid' 2021-04-21 19:40:44 +02:00
KiralyCraft 338063fc2c Changed random Client ID to the same as official Moonlight 2021-04-21 19:39:37 +02:00
Mariotaku Lee 9cec4208a4 Fixed trigger left/right range
Added .ignore for common build dir
2021-04-19 15:41:53 +09:00
Iwan Timmer f9a20348ab moonlight-common-c: merge new upstream changes 2021-04-14 11:21:32 +02:00
Romain Tisserand 5b6639c8a7 Fix gcc-10 compilation (fno-common flag enabled by default) 2020-07-11 21:29:09 +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 14644f1269 Update moonlight-common-c 2020-04-19 11:56:55 +02:00
Iwan Timmer 95104759ab Fix missed merging conflicts
Fixes commit 4711129
2020-04-19 11:37:02 +02:00
Iwan Timmer 4711129d14 Merge remote-tracking branch 'tomblind/touchscreen' 2020-04-18 21:43:09 +02:00
Tom 5beb32d066 Emulating right click on touch screens with a long press 2020-04-18 07:34:52 -06:00
Tom 6b8260c1e5 refactored touchscreen code for clarity and safety, and removed hacked in rotation 2020-04-18 07:03:59 -06:00
Tom b22b07e5a0 Applied display rotation to mouse movement in evdev 2020-04-17 16:50:04 -06:00
Tom aae24557f9 Added transform flag to mmal display settings so rotation takes effect 2020-04-17 12:57:51 -06:00
Tom 4cd2d4b8dc Included video.h in pi and mmal to give access to rotation flags 2020-04-17 11:19:01 -06:00
Tom ceacef6329 Added display rotation support to mmal decoder 2020-04-17 10:59:15 -06:00
Tom 4bfeee690a Added command line option to control omx rotation 2020-04-17 10:44:16 -06:00
Tom c9a624595b initial touchscreen support (rotated 90 degrees for the moment) 2020-04-13 13:16:25 -06:00
Tom a205edc1c7 forced omx rotation to 90 degrees 2020-04-13 13:03:32 -06: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
Iwan Timmer 922cd29adc Add MMAL video decoder 2020-03-17 22:17:34 +01:00
Iwan Timmer 70e54ef300 Update moonlight-common-c v2.4.11 2020-03-09 20:33:27 +01:00
Iwan Timmer 8f9e2704a6 Remove references to fora
Most referenced fora are currently rather quiet and therefore not very helpfull for new users
2020-03-09 20:13:01 +01:00
Iwan Timmer 3a86fecd9e Add reference to source of gamecontrollerdb.txt 2020-01-05 22:05:04 +01:00
Albert Andaluz 4528b78d81 Added git branch name and short hash to moonlight binary 2020-01-05 22:00:30 +01:00
Albert Andaluz fe1c203b10 when sending CTRL+ALT+SHIFT+Q key sequence for disconnecting from the remote host, always send a keydown event to avoid leaving the remote host keyboard in key_UP state. (seen with Geforce Experience 3.17) 2020-01-05 22:00:30 +01:00
Hugo Hromic ecf09e8907 Add option for disabling all input (view-only mode) in streaming session
* By default this option is set to `false` and can be enabled using the
  new `-viewonly`/`viewonly` command-line/config options.
* When enabled, none of the input modules will be initialised, making
  the streaming session view-only, i.e. no input is sent to host.

To facilitate implementation, SDL initialisation with `sdl_init()` was moved
a bit earlier in the code to decouple from input initialisation.
2019-10-05 21:23:36 +01:00
Hugo Hromic 4ee5015557 Clarify -localaudio option in help text
* It makes audio play on host computer instead of remote client
2019-10-05 19:13:37 +01:00
Hugo Hromic 6c8b3bb29d Remove redundant config parsing conditionals
* They are already covered in the last `else` block
2019-10-05 19:13:37 +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
Hugo Hromic c8e090a5e1 Minor config codebase clean-ups for consistency
* Improve readability of conditional operators
* Remove unnecessary trailing semi-colon in #define
* Use NULL-constant instead of zero-value
2019-10-05 19:12:48 +01:00
Hugo Hromic 243ef8ae0b Also grab mouse input devices (fixes #756) 2019-09-12 17:41:00 +01:00
Iwan Timmer eb94742266 Merge remote-tracking branch 'cgutman/sha256_buster' 2019-07-06 16:55:41 +02:00
Cameron Gutman 519a14a427 Use a SHA256 signature for the client certificate 2019-07-05 13:36:49 -07:00
5schatten 52efef7a66 video/rockchip: define READ_BUF_SIZE as a size of 0x00100000
If you use SZ_1M to define READ_BUF_SIZE you also need to include the sizes.h header file which is apparently missing.
2019-07-03 18:00:12 +02:00
Iwan Timmer 039eabca1e Update version v2.4.10 2019-05-27 19:51:03 +02:00
Iwan Timmer 919553fed6 Update gamecontrollerdb 2019-05-27 19:50:33 +02:00
Iwan Timmer 99340f1395 Update moonlight-common-c 2019-05-27 19:45:30 +02:00
Iwan Timmer 763bcb76d6 Correct gamecontrollerdb.txt update 2019-05-02 17:41:54 +02:00
Cameron Gutman 5f167ce109 Fix SPS length being 4 bytes short 2019-05-01 19:21:05 -07:00