Cameron Gutman
|
cfabaf334e
|
Add frame pacing toggle
|
2018-12-25 12:57:00 -08:00 |
|
Cameron Gutman
|
c6383f042c
|
Pin server cert to host during pairing
|
2018-12-21 18:08:07 -08:00 |
|
Cameron Gutman
|
8a5e3cdb76
|
Fix returning to app page when start fails
|
2018-12-05 22:17:26 -08:00 |
|
Cameron Gutman
|
c40174034c
|
Don't kill the app on the host when the session terminates unexpectedly
|
2018-12-05 20:17:00 -08:00 |
|
Cameron Gutman
|
5029c855f0
|
Simplify app quitting implementation a bit
|
2018-12-05 19:49:06 -08:00 |
|
Janne Hakonen
|
0ab07303c9
|
Add quit cli command and app quit option after stream session. Fixes #92 (#138)
* Add quit cli command and app quit option after stream session. Fixes #92
* Code review fixes.
|
2018-12-05 18:45:28 -08:00 |
|
Cameron Gutman
|
065a6caee5
|
Use automatic remote streaming detection
|
2018-11-21 20:55:25 -08:00 |
|
Cameron Gutman
|
bf05088d70
|
Remove checks that rely on display modes because they can be inaccurate on machines when the monitor is off
|
2018-11-20 22:02:43 -08:00 |
|
Cameron Gutman
|
688c4a90d9
|
Use the raw display bounds not the usable display bounds for full-screen calculations
|
2018-11-18 23:10:30 -08:00 |
|
Cameron Gutman
|
76e5794203
|
Remove SetThreadExecutionState() call now that SDL_DisableScreenSaver() works on Windows
|
2018-11-03 12:44:14 -07:00 |
|
Cameron Gutman
|
e1fab22d98
|
Fix accidental removal of decoder deletion in previous commit
|
2018-10-31 18:49:37 -07:00 |
|
Cameron Gutman
|
cb5e58d465
|
Fix use-after-free caught by debug build of SDL2
|
2018-10-31 18:20:39 -07:00 |
|
Cameron Gutman
|
fd63aad3b8
|
Only avoid HEVC on GFE 3.10 and lower on macOS
|
2018-10-14 11:28:52 -07:00 |
|
Cameron Gutman
|
36f468a599
|
Fix window icon disappearing when toggling out of full-screen mode on Windows
|
2018-10-12 20:34:58 -07:00 |
|
Cameron Gutman
|
dfae69834a
|
Fix misleading debug print
|
2018-10-12 20:02:54 -07:00 |
|
Cameron Gutman
|
4f84843b00
|
Fixup H.264 SPS for VideoToolbox compatibility. Fixes #98
|
2018-10-12 17:59:53 -07:00 |
|
Cameron Gutman
|
6661ca17c2
|
Fix keys being stuck after Moonlight loses focus or is quit via OS shortcut (Alt+Tab/Alt+F4)
|
2018-10-03 18:27:12 -07:00 |
|
Cameron Gutman
|
18d97e9f73
|
Fix errant touch events on macOS
|
2018-10-02 20:11:13 -07:00 |
|
Cameron Gutman
|
bccd118abb
|
Finish removal of auto audio option and rename the remaining options
|
2018-10-02 15:30:22 -07:00 |
|
Cameron Gutman
|
3dc049ee5f
|
Remove automatic audio configuration permanently due to brokenness and allow renderers to request reinitialization on demand
|
2018-10-02 01:21:42 -07:00 |
|
Cameron Gutman
|
c239d0814b
|
Move audio renderer destruction back off the main thread now that we're using atexit(SDL_Quit)
|
2018-09-30 18:09:12 -07:00 |
|
Cameron Gutman
|
9fb0bffd61
|
Finish touch input support
|
2018-09-30 01:03:26 -07:00 |
|
Cameron Gutman
|
4a452a2467
|
Touch input WIP
|
2018-09-29 22:43:28 -07:00 |
|
Cameron Gutman
|
4ad27670ec
|
Provide detection and help for unmapped gamepads. Fixes #70
|
2018-09-29 19:14:52 -07:00 |
|
Cameron Gutman
|
200b1c5095
|
Rename hpp -> h
|
2018-09-29 16:18:46 -07:00 |
|
Janne Hakonen
|
d14cfb577b
|
Add command line parameters. Fixes #30 (#89)
* Add command line parameters. Fixes #30
* Fixed compile errors
* Fixed code review findings
* Fixed code review findings, take 2
|
2018-09-29 14:06:55 -07:00 |
|
Cameron Gutman
|
4620fa5001
|
Retry serverinfo query for adding a PC if the request fails with ServiceUnavailableError. Fixes #88
|
2018-09-29 03:01:49 -07:00 |
|
Cameron Gutman
|
896b247bc0
|
Remove H.264 high performance preference and enable HEVC split encode
|
2018-09-22 20:27:02 -07:00 |
|
Cameron Gutman
|
605d52f160
|
Don't block in audio/video renderer callbacks while the renderer is being destroyed
|
2018-09-22 20:03:41 -07:00 |
|
Cameron Gutman
|
afb2b465a8
|
Avoid using direct submit for video decoding because FFmpeg can delay for a fairly significant period of time within avcodec_send_packet() and avcodec_receive_frame(), even for software decoding. This is particularly apparent when streaming well above hardware capabilities and leads to packet loss.
|
2018-09-22 19:30:13 -07:00 |
|
Cameron Gutman
|
9f0617f6ee
|
Gracefully fall back to stereo audio if 5.1 doesn't work
|
2018-09-22 16:04:36 -07:00 |
|
Cameron Gutman
|
f4408473e6
|
Fix broken Alt+Tab behavior. Fixes #72
|
2018-09-16 11:21:15 -07:00 |
|
Cameron Gutman
|
72afa55897
|
Add tip text to the StreamSegue telling users about the quit shortcut. Fixes #77
|
2018-09-14 19:11:06 -07:00 |
|
Cameron Gutman
|
eed9fca10c
|
Mass conversion of isNull() -> isEmpty()
|
2018-09-14 18:36:15 -07:00 |
|
Cameron Gutman
|
25d97e187a
|
Fix large mouse input delay on GFE 3.14.0 and earlier. Fixes #68
|
2018-09-14 18:35:28 -07:00 |
|
Cameron Gutman
|
879c524658
|
Revert "Process Qt events in the SDL loop" to fix input issues on Windows and Mac
This reverts commit c8e00195ed .
|
2018-09-13 12:14:56 -07:00 |
|
Cameron Gutman
|
c8e00195ed
|
Process Qt events in the SDL loop
|
2018-09-13 08:03:06 -07:00 |
|
Cameron Gutman
|
64bc189010
|
Fixes to SDL audio renderer and autodetection support
|
2018-09-13 07:46:01 -07:00 |
|
Cameron Gutman
|
12496e4432
|
Refactor audio rendering into a separate class
|
2018-09-13 06:23:06 -07:00 |
|
Cameron Gutman
|
9e2fd67487
|
Add option to enable mouse acceleration for remote desktop usage
|
2018-09-09 13:21:11 -07:00 |
|
Cameron Gutman
|
cfbcc4093c
|
Reduce UI jank when transitioning to the stream segue
|
2018-09-09 10:17:32 -07:00 |
|
Cameron Gutman
|
4712080a1b
|
Fix centering of streaming window and size after toggling full-screen on Windows
|
2018-09-08 16:01:35 -07:00 |
|
Cameron Gutman
|
c9a7c15f98
|
Improve unsupported FPS options and performance
|
2018-09-08 15:09:46 -07:00 |
|
Cameron Gutman
|
64a08f0533
|
Allow higher than display refresh rate streaming with unsupported FPS option
|
2018-09-08 14:34:11 -07:00 |
|
Cameron Gutman
|
52c6455ca5
|
Avoid sending a click event on focus gain on Linux
|
2018-09-08 14:05:42 -07:00 |
|
Janne Hakonen
|
300b53f28c
|
Capture mouse cursor when clicking inactive window
|
2018-09-08 16:39:20 +03:00 |
|
Cameron Gutman
|
6a2b717ff1
|
Run in native resolution on Retina displays when streaming above scaled resolution
|
2018-09-07 01:12:18 -07:00 |
|
Cameron Gutman
|
475a39cb73
|
Recreate the decoder when moving to a new display to allow Pacer to get the new refresh rate
|
2018-09-06 19:42:53 -07:00 |
|
Cameron Gutman
|
4dba74e2f9
|
Fix handling of undefined and non-matching refresh rate
|
2018-09-06 19:16:59 -07:00 |
|
Cameron Gutman
|
587d783955
|
Use SDL_WINDOWPOS_CENTERED_DISPLAY() to fix incorrect positioning on multi-display system on macOS
|
2018-09-06 18:53:00 -07:00 |
|
Cameron Gutman
|
5da156b433
|
Prefer H.264 for higher decoding performance in very high load situations
|
2018-09-05 18:57:40 -07:00 |
|
Cameron Gutman
|
0d68faf40c
|
Remove unused parameter
|
2018-09-05 15:45:36 -07:00 |
|
Cameron Gutman
|
856318f947
|
Start the SDL window on the same display as the Qt UI was displayed on
|
2018-09-05 15:15:53 -07:00 |
|
Cameron Gutman
|
dae21f2638
|
Detect native panel resolution on Retina displays. Fixes #59
|
2018-09-04 00:21:37 -04:00 |
|
Cameron Gutman
|
af6e99cbac
|
Select the highest full-screen refresh rate that our stream FPS evenly divides
|
2018-09-03 22:54:41 -04:00 |
|
Cameron Gutman
|
6d6acf4308
|
Fix release builds
|
2018-09-03 22:47:31 -04:00 |
|
Cameron Gutman
|
7dd4815edf
|
Allow selection between full-screen exclusive mode and borderless windowed mode
|
2018-09-03 22:17:34 -04:00 |
|
Cameron Gutman
|
5ad96f5287
|
Display a dialog when the connection is terminated by the remote PC
|
2018-09-02 18:34:10 -04:00 |
|
Janne Hakonen
|
b96ace7f04
|
Release mouse cursor when window focus is lost
|
2018-09-02 00:31:37 +03:00 |
|
Cameron Gutman
|
234a8dc3d5
|
Fix build with HAVE_SLVIDEO
|
2018-08-31 10:40:25 -04:00 |
|
Cameron Gutman
|
762fe92933
|
Allow streaming with no audio device. Fixes #52
|
2018-08-31 00:09:31 -04:00 |
|
Cameron Gutman
|
b7cbec0b1c
|
Pass RFI flags to decoder
|
2018-08-25 13:36:54 -07:00 |
|
Cameron Gutman
|
f9cdd49d2e
|
Add settings option to disable V-sync for lowest possible latency on Windows
|
2018-08-20 22:25:19 -07:00 |
|
Cameron Gutman
|
7661f5a3d7
|
Use SetThreadExecutionState() to disable the screensaver since SDL doesn't currently call that. Fixes #46
|
2018-08-20 21:36:23 -07:00 |
|
Cameron Gutman
|
395f337bbb
|
Switch full-screen mode back to full-screen exclusive on Windows to reduce latency by 1 frame
|
2018-08-20 21:19:00 -07:00 |
|
Cameron Gutman
|
f7d3c10c9d
|
Plumb the ability to disable V-sync through the video renderers
|
2018-08-20 18:19:42 -07:00 |
|
Cameron Gutman
|
1b8c3aae73
|
Speed up resize/full-screen by avoiding excessive decoder resets
|
2018-08-19 01:19:23 -07:00 |
|
Cameron Gutman
|
9fbdd794b9
|
Improve support for full-screen exclusive mode
|
2018-08-16 22:25:14 -07:00 |
|
Cameron Gutman
|
f6a451d6e7
|
Add PoC VsyncSource for Windows using DwmFlush(). Soon to be replaced with D3DKMTWaitForVerticalBlankEvent().
|
2018-08-15 23:20:56 -07:00 |
|
Cameron Gutman
|
e467ce7ce8
|
Uninitialize video subsystem before allowing a racing session to start to prevent an assert from firing
|
2018-08-15 20:35:11 -07:00 |
|
Cameron Gutman
|
cf2d8f71d6
|
Avoid setting timer resolution to 1 ms while Moonlight is not streaming
|
2018-08-13 22:23:05 -07:00 |
|
Cameron Gutman
|
566181e8d7
|
Display error if video decoder doesn't initialize
|
2018-08-11 22:49:36 -07:00 |
|
Cameron Gutman
|
917f6e5ee9
|
Only capture the mouse by default for full screen streaming
|
2018-08-11 14:19:42 -07:00 |
|
Cameron Gutman
|
4b1d3b0125
|
Warn users when their configuration is impossible to satisfy. Fixes #26
|
2018-08-09 19:37:49 -07:00 |
|
Cameron Gutman
|
7be167856e
|
Only enable game optimizations when streaming at officially supported resolutions
|
2018-08-05 18:09:35 -07:00 |
|
Cameron Gutman
|
9cc20c27ab
|
Add support for native resolution streaming
|
2018-08-05 14:55:26 -07:00 |
|
Cameron Gutman
|
45ebf2ca7d
|
Add log messages for server GPU, bitrate, and slices
|
2018-08-05 13:32:04 -07:00 |
|
Cameron Gutman
|
b076744f00
|
Support HEVC software decoding and forcing HEVC without GPU support
|
2018-08-04 16:45:31 -07:00 |
|
Cameron Gutman
|
723e815546
|
Add warning for forcing software decoding
|
2018-08-04 16:15:13 -07:00 |
|
Cameron Gutman
|
ca72cbb135
|
Implement displaying launch warnings. Fixes #12
|
2018-08-04 16:05:37 -07:00 |
|
Cameron Gutman
|
1e8c2b179a
|
Only fill the screen in windowed mode if the stream is larger than usable display area
|
2018-08-04 15:34:56 -07:00 |
|
Cameron Gutman
|
f2ed3a8502
|
Make stream window resizable
|
2018-08-04 15:34:56 -07:00 |
|
Cameron Gutman
|
fca402138f
|
Add VDPAU renderer
|
2018-08-03 02:11:44 -07:00 |
|
Cameron Gutman
|
18dd6b09bb
|
Remove 10 ms sleep hidden inside SDL_WaitEvent(). This fixes mouse polling rate being capped at 100 Hz (1 second / 10 ms) and the rendering FPS being capped at 90 FPS.
|
2018-08-01 18:26:50 -07:00 |
|
Cameron Gutman
|
22be912788
|
Fix accent prompt appearing when keys are held down on macOS
|
2018-07-30 22:44:19 -07:00 |
|
Cameron Gutman
|
e9c1f883da
|
Use full-screen desktop mode for Mac to allow Spaces to work
|
2018-07-30 00:03:17 -07:00 |
|
Cameron Gutman
|
df26f731eb
|
Improve debugging messages
|
2018-07-28 16:06:26 -07:00 |
|
Cameron Gutman
|
0bde932550
|
Prevent HEVC streaming with the software decoder for performance reasons
|
2018-07-26 19:26:22 -07:00 |
|
Cameron Gutman
|
010475e8a2
|
Use per-display undefined window positions
|
2018-07-22 18:40:15 -07:00 |
|
Cameron Gutman
|
bd170c4bd6
|
Always use the current display mode and just let the renderers scale the output
|
2018-07-22 18:28:17 -07:00 |
|
Cameron Gutman
|
386e463942
|
Also use the SDL icon for Linux
|
2018-07-22 17:42:31 -07:00 |
|
Cameron Gutman
|
9d840afdfb
|
Add an SDL window icon for Windows
|
2018-07-22 17:07:45 -07:00 |
|
Cameron Gutman
|
83b81aad4b
|
Don't capture the mouse initially on debug builds
|
2018-07-22 16:21:15 -07:00 |
|
Cameron Gutman
|
cf3cbd627d
|
Use full-screen windowed mode to avoid having to enable V-Sync on DXVA2
|
2018-07-22 15:42:17 -07:00 |
|
Cameron Gutman
|
3bb62a82e1
|
Avoid doing a display mode change on Linux when entering full-screen
|
2018-07-22 14:03:47 -07:00 |
|
Cameron Gutman
|
ad57a55d12
|
Add (untested) Steam Link video decoding/rendering
|
2018-07-21 20:29:05 -07:00 |
|
Cameron Gutman
|
519626a6d5
|
Fix compilation with Qt 5.9
|
2018-07-21 18:47:41 -07:00 |
|
Cameron Gutman
|
b7b452875d
|
Add a missing HAVE_FFMPEG guard
|
2018-07-21 17:32:00 -07:00 |
|
Cameron Gutman
|
eb536c2273
|
Overhaul platform and decoder/renderer detection
|
2018-07-21 17:00:09 -07:00 |
|
Cameron Gutman
|
399154f5f5
|
Implement VAAPI rendering for X11
|
2018-07-21 00:16:03 -07:00 |
|
Cameron Gutman
|
64a839c2f9
|
Create the window after starting streaming to avoid a mouse capture bug in SDL on Windows
|
2018-07-20 19:55:07 -07:00 |
|
Cameron Gutman
|
20288210be
|
Fix VT video centering after transition from windowed to full screen
|
2018-07-20 19:37:54 -07:00 |
|
Cameron Gutman
|
7b235743cb
|
Count the window chrome size in our placement decision and fix sizing after full-screen toggle
|
2018-07-20 19:18:55 -07:00 |
|
Cameron Gutman
|
4c507f1179
|
Move SDL subsystem init into appropriate components to fix gamepad detection issue
|
2018-07-20 18:15:46 -07:00 |
|
Cameron Gutman
|
e516861366
|
Set window dimensions properly when toggling full-screen
|
2018-07-20 16:01:22 -07:00 |
|
Cameron Gutman
|
10b5245919
|
Reset the decoder when D3D state is lost
|
2018-07-20 15:31:57 -07:00 |
|
Cameron Gutman
|
a89cadc520
|
Separate FFmpeg decoder from the Session class (#4)
|
2018-07-17 20:00:16 -07:00 |
|
Cameron Gutman
|
d3f7204cff
|
Set the main thread to high priority since it's used for rendering
|
2018-07-16 21:25:59 -07:00 |
|
Cameron Gutman
|
998d837ff4
|
Optimize resolution and window size selection
|
2018-07-16 01:55:36 -07:00 |
|
Cameron Gutman
|
641b50b7ee
|
Use larger packets when streaming to local PCs
|
2018-07-16 01:12:53 -07:00 |
|
Cameron Gutman
|
1cae5f83e5
|
DXVA2 Hardware Decoding (#3)
|
2018-07-13 02:31:21 -07:00 |
|
Cameron Gutman
|
e8e9e17e63
|
Improve UI responsiveness when stopping a stream
|
2018-07-09 00:09:06 -07:00 |
|
Cameron Gutman
|
5a04a256e0
|
Add additional serverinfo attributes and check for 4K compatibility
|
2018-07-08 20:53:24 -07:00 |
|
Cameron Gutman
|
d0375a458a
|
Bound thread count at 4 (same as max slices) and don't use HEVC with the software decoder due to lack of slicing support in common-c
|
2018-07-08 17:50:42 -07:00 |
|
Cameron Gutman
|
7023bcf504
|
Make StreamingPreferences accessible from QML for Settings integration
|
2018-07-08 17:33:47 -07:00 |
|
Cameron Gutman
|
826fe4cd03
|
Implemented software video decoding and special key combos
|
2018-07-07 21:52:20 -07:00 |
|
Cameron Gutman
|
60ad95bb7b
|
Start work on launching a stream from QML and rip out remaining QtWidgets
|
2018-07-07 16:30:26 -07:00 |
|
Cameron Gutman
|
3d7c8d4bfb
|
Fix some warnings on GCC
|
2018-06-28 03:13:38 -07:00 |
|
Cameron Gutman
|
e5ef1bcfc5
|
Stub out the error handling when launch/resume fails
|
2018-06-28 02:10:31 -07:00 |
|
Cameron Gutman
|
d1a512538c
|
Fix input bugs from the C++ transistion and implement special key combo stubs
|
2018-06-28 02:04:51 -07:00 |
|
Cameron Gutman
|
0821c66d8c
|
Rewrite streaming code to C++ and forklift most of the setup out of the GUI code
|
2018-06-28 01:44:43 -07:00 |
|