Commit Graph
79 Commits
Author SHA1 Message Date
Cameron Gutman 30da7e2bc2 Don't prefix GPU type with 'NVIDIA' 2021-07-25 15:02:30 -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 fb57f3cb4d Add arbitrary audio duration support to all audio backends 2021-07-25 14:01:19 -05:00
Cameron Gutman 4e09dccfc0 Use moonlight-common-c definition for max channel count 2021-07-25 13:33:35 -05:00
Cameron Gutman d1937cb8e6 Fix usage help after remote and FPS default changes 2021-07-25 13:28:58 -05:00
Cameron Gutman ef719dc938 Cleanup and optimize FFmpeg code 2021-07-25 13:26:45 -05:00
Cameron Gutman 66ec344a31 Remove old reference to ENET_LIBRARIES 2021-07-25 13:25:27 -05:00
Cameron Gutman 8602c85714 Avoid deprecated av_init_packet() function 2021-07-25 13:17:21 -05:00
Cameron Gutman 48de7760dc Add Raspbian package build to CI 2021-07-24 18:38:34 -05:00
Cameron Gutman 572644800d Add AppVeyor CI 2021-07-24 17:48:40 -05:00
Cameron Gutman 30464979dc Enable audio encryption unless on a slow CPU 2021-07-24 16:25:03 -05:00
Cameron Gutman b907c4b608 Use the same remote streaming and packet size defaults as other clients 2021-07-24 15:57:55 -05:00
Cameron Gutman 56d1fee17b Default to 60 FPS at all resolutions
The time of most hardware maxing at 1080p30 has long since passed.
2021-07-24 15:40:59 -05:00
Cameron Gutman 2fa276182f Fix ALSA and PA mappings for 7.1 surround sound 2021-07-24 15:35:27 -05:00
Cameron Gutman 0ebd86184b Update SDL_GameControllerDB and convert it to a submodule 2021-07-24 15:17:51 -05:00
Cameron Gutman 1cb4699057 Start plumbing 7.1 surround sound support 2021-07-24 08:14:03 -05:00
Cameron Gutman 01d43ff596 FFmpeg VAAPI doesn't need slices and is incompatible with RFI 2021-07-24 07:56:41 -05:00
Cameron Gutman 98092f8baf FFmpeg software decoding doesn't support RFI for HEVC 2021-07-24 07:55:52 -05:00
Cameron Gutman 83982d3981 Change default value of 'unsupported' to true to match other clients 2021-07-24 07:50:55 -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 615ed824ac Use 48KHz sample rate for PA test to match the actual stream 2021-07-24 07:33:07 -05:00
Cameron Gutman 7109301a46 Never use audio callbacks for fake platform 2021-07-24 07:31:01 -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
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
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 f305e235f9 Fix bugs found by compiler warnings 2019-04-30 19:50:22 -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
Cameron Gutman e21e2074e3 Add support for X1 and X2 mouse buttons 2018-10-09 19:39:25 +02: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
Cameron Gutman 5cb4a8cc42 Lower required OpenSSL version to 1.0.2 2017-06-01 10:29:43 -07:00
Cameron Gutman 0f5b50dfa7 Fix integer overflow in deadzone calculation 2016-04-03 02:14:53 -04: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
Cameron Gutman 895054aa69 Update common to disable dynamic resolution switching 2016-02-28 20:39:11 +01:00
Cameron Gutman 501c20565b Fix several areas of pairing that relied on undefined behavior 2016-02-27 23:05:59 -08:00
Cameron Gutman 8c22abbab1 Fix stack corruption when creating the server challenge response 2016-02-23 17:19:06 -05:00
Cameron Gutman 07657529a9 SDL uses software decoding so it should only be considered when no hardware accelerated options are available 2015-11-22 15:23:36 -08:00
Cameron Gutman e215252dc8 Fix overrun of input buffers with large frames 2015-11-22 12:32:44 +01:00
Cameron Gutman 70970e9b27 Add GFE 2.8 support 2015-11-14 04:35:05 +00:00
Cameron Gutman 48f88f6d2f Add 5.1 surround sound support 2015-10-26 02:58:28 +00:00
Cameron Gutman 6d23e28676 Fix audio on non-SDL builds 2015-08-15 01:06:26 -07:00
Cameron Gutman 96128b5bb1 Fix loading platform libraries 2015-08-15 01:00:10 -07:00
Cameron Gutman 16574aac38 Fix regression in input grabbing functionality 2015-08-15 00:59:28 -07:00
Cameron Gutman 8d80cc3476 Fix use-after-free bug in SPS processing 2015-08-15 00:58:32 -07:00
Cameron Gutman 7946e87446 Fix inconsistent redetection of replugged input devices 2015-08-15 00:57:55 -07:00
Cameron Gutman 531634c403 Fix creation of the key directory 2015-08-15 00:56:21 -07:00
Cameron Gutman 495604dbc5 Fix null pointer dereference if no frames have been received when the connection terminates 2015-08-08 23:24:10 +02:00
Cameron Gutman 94f20e510b Enable asserts in Moonlight-Common-C when building in debug mode 2015-07-15 19:30:58 -04:00
Cameron Gutman 7822a8cd9d Update README with new quit command 2015-07-15 04:02:58 -04:00
Cameron Gutman 4215364350 Grab input devices to avoid input events being directed to the console. This also changes the quit logic so Ctrl+C works up until streaming starts when Ctrl+Alt+Shift+Q becomes the quit combo 2015-07-15 03:16:02 -04:00
Cameron Gutman 5f129e1988 Print a warning if an unmapped button is pressed 2015-06-28 20:12:48 +02:00
Cameron Gutman cd954e4935 Display an error if the mapping cannot be found. Fix mappings passed with absolute paths. 2015-06-28 20:12:25 +02:00
Cameron Gutman 8d7b2d94be Modify default.conf mapping to match the behavior of the Java client. The Y axis is reversed in mappings on the C client 2015-06-27 14:45:42 -07:00
Cameron Gutman 9bf1ad75e8 Fix re-plugging of input devices present when the stream started. Fix scroll wheel and backwards scrolling issue in common-c 2015-06-25 21:03:29 -07:00
Cameron Gutman 3e543c95f6 Pairing doesn't work if a stream is in progress 2015-06-25 21:02:18 -07:00
Cameron Gutman bfd84705a1 Improve handling and reporting of common errors 2015-06-25 02:43:25 -04:00
Cameron Gutman 7f840a3d16 Update to common-c with API 1.1 2015-06-20 00:11:09 -04:00
Cameron Gutman 91386f554e Safely handle missing fields in the serverinfo response. This fixes GFE 2.5.4.54, albeit in a non-ideal manner. A proper fix would be to parse the error out of the response and reissue the query over HTTP if it fails with error code 401. 2015-06-19 23:41:20 -04:00
Cameron Gutman fa4f1a323a Switch to API 1.1 for moonlight-common-c 2015-06-19 22:15:03 -04:00
Cameron Gutman 5263607ec8 Fix memory corruption with no input devices 2015-05-28 14:18:14 -05:00
Cameron Gutman 63120acf7d Fix OMX build 2015-05-28 14:16:29 -05:00
Cameron Gutman 08af7f66a2 Zero new device contexts when they're added 2015-05-17 22:43:52 +00:00
Cameron Gutman ccc3d2914a Fix Y button 2015-05-17 22:33:13 +00:00
Cameron Gutman a85ac17f50 Fix mapping issues caused by pending events between mappings. Make mapping messages more consistent 2015-05-17 22:31:49 +00:00
Cameron Gutman c4e3cb86ee Fix warnings 2015-05-17 22:26:45 +00:00
Cameron Gutman 2776ec0dd2 Fix keycodes for: left and right brace, enter, semicolon, apostrophe, grave, dot, and page up 2015-05-15 02:09:07 +00:00
Cameron Gutman db2c0eee2c Warning fixes 2015-05-15 01:43:01 +00:00
Cameron Gutman 6aad62ecde Don't register the connection callbacks for now, since they're unused 2015-05-15 01:27:58 +00:00
Cameron Gutman f4d8dfc169 Remove unused callbacks. Requires pulling latest moonlight-common-c 2015-05-15 01:24:28 +00:00
Cameron Gutman ad487cd5ee Only initialize input when streaming 2015-05-15 01:10:09 +00:00
Cameron Gutman 6be4ffef9f - Change 'applist' action to 'list' to match the documentation
- Add 'quit' action to quit the app being streamed
- Check if the device is paired before streaming
- Fix a typo that caused a segfault when streaming
2015-05-15 01:05:23 +00:00
Cameron Gutman 87117416bd Use freeaddrinfo() instead of free() 2015-05-13 05:25:56 +00:00
Cameron Gutman 1aefaf8f73 - Hostnames work when streaming
- GFE 2.1.x is supported
- Minor bug fixes
2015-05-13 05:10:14 +00:00