1736 Commits

Author SHA1 Message Date
Cameron Gutman
a6d295b273 Wait for pending sessions to connect before breaking on app termination
If we don't wait, clients may fail control stream establishment if the app terminates early.
2023-05-05 17:42:59 -05:00
Cameron Gutman
eb8aaf0093 Fix graceful termination messages being discarded by Moonlight 2023-05-05 17:42:59 -05:00
Cameron Gutman
10ea67719e Fix crash if capture is stopped before completing startup 2023-05-05 17:42:59 -05:00
Cameron Gutman
df1286ac88 Fix crash if the app terminates before the control stream is connected 2023-05-05 17:42:59 -05:00
ReenigneArcher
5779a4bd89
packaging: fix macos dmg (#1141) 2023-05-04 21:07:41 -04:00
Cameron Gutman
81aecff301 Pass the SID instead of the group name to icacls
Group names are localized but well-known SIDs work everywhere.
2023-05-03 20:35:33 -05:00
Cameron Gutman
c706ba4ca2 Add Windows-specific warnings if Sunshine is unable to access config or credentials
http::init() failure must be fatal because attempting to start the web servers will crash due to null creds.
2023-05-03 00:33:06 -05:00
Cameron Gutman
e8f3dfe32c Reset ACLs on the config directory and migrated config files 2023-05-03 00:33:06 -05:00
Cameron Gutman
65b7f2373c Fix merging user environment variables during process launch 2023-05-03 00:33:06 -05:00
Cameron Gutman
292ef7eca3 Don't show a console window when opening a URL 2023-05-03 00:33:06 -05:00
Cameron Gutman
c4c04694ac Restore the start menu shortcut as a proper launcher for the UI and service 2023-05-03 00:33:06 -05:00
Cameron Gutman
14fd7ad498 Don't recursively reset ACLs on our install directory
This will wipe out our stricter credential dir ACLs
2023-05-03 00:33:06 -05:00
Cameron Gutman
4730f4a3af Ensure the credentials dir exists before setting ACLs on it 2023-05-03 00:33:06 -05:00
Cameron Gutman
c8d4fd9f69 Keep/turn the display on during streaming
IDXGIDuplication::DuplicateOutput() may fail with 0x80070005 if the display is off and cause streaming to fail
2023-05-03 00:07:01 -05:00
ns6089
8347824eee Print frame processing latency to debug log 2023-05-02 23:41:13 -05:00
ns6089
bd533dc31b Extend packet header with frame processing latency 2023-05-02 23:41:13 -05:00
ReenigneArcher
590733b313
build(deps): unpin docker dependencies (#1243) 2023-05-02 23:04:33 -04:00
ReenigneArcher
3cfb520217
fix(audio)!: remove policy config for Windows Vista (#1235) 2023-04-30 20:41:45 -04:00
Cameron Gutman
50f689ff80 Implement restart support for all platforms 2023-04-29 21:22:18 -05:00
Cameron Gutman
4668ff59e5 Fix ringing with non-truthy values in alarm_t
The Windows mDNS registration code does this in the failure path and ends up deadlocking.
2023-04-29 20:43:16 -05:00
Cameron Gutman
d05dc731be Add RFC 6598 CGN CIDR block to LAN addresses list 2023-04-29 20:01:45 -05:00
Cameron Gutman
4c407c1662 Fix Fedora 37 build 2023-04-29 19:35:12 -05:00
Chase Payne
430a439698
Elevated Commands Redesign (#1123) 2023-04-29 00:22:01 -05:00
Cameron Gutman
18ab7dcf6c Remove 3-byte NALU prefix fixup
The bug in Moonlight that required it has been fixed since the middle of last year.
2023-04-28 22:20:09 -05:00
ReenigneArcher
82d6bc28c3
docs(diagrams): add diagrams using graphviz (#1228) 2023-04-27 18:28:16 -04:00
Zach Sirotto
eed4df1eee
fix: header guards on system tray (#1222)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2023-04-27 10:19:33 -04:00
ReenigneArcher
4459e54583
docs(doxygen): enable macro expansion (#1226) 2023-04-27 09:50:22 -04:00
ReenigneArcher
db5c03282c
refactor(tray icon): update header definitions (#1221) 2023-04-26 09:27:08 -04:00
istori1
5ad5699456
build(linux): honor install prefix for tray icon (#1208) 2023-04-25 21:45:32 -04:00
dependabot[bot]
5a8b6c3ed0
build(deps): bump sphinx from 6.1.3 to 6.2.0 (#1212)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-24 10:16:38 -04:00
ReenigneArcher
2138d0c9bc
docs(advanced_usage): fix nvlax url (#1205) 2023-04-22 20:41:32 -04:00
ReenigneArcher
25d0f434c5
build(deps): update fedora dependencies (#1206) 2023-04-22 17:43:01 -04:00
ReenigneArcher
2215ab98b4
fix(web ui): add response headers (#1190) 2023-04-18 17:41:45 -04:00
ReenigneArcher
91afe331be
build(deps): bump git from 2.39.2 to 2.40.0 for fedora 37 (#1196) 2023-04-18 17:15:13 -04:00
ReenigneArcher
820a20dc70
build(docker): update dependencies (#1193) 2023-04-17 10:56:51 -04:00
Cameron Gutman
f51876893e Stop the service if the user quits via the tray icon 2023-04-16 16:16:03 -05:00
Cameron Gutman
dd6fcbd7b8 Grant everyone SYNCHRONIZE access to our systray thread
Explorer requires this access right to remove our tray icon if we terminate unexpectedly
2023-04-16 16:16:03 -05:00
Cameron Gutman
d33bd00bb4 Fix HEVC mode if the encoder changes 2023-04-16 15:53:02 -05:00
Cameron Gutman
006a6984c3 Use a faster probe for launch-time encoders that weren't available before 2023-04-16 15:53:02 -05:00
Cameron Gutman
d973e5bbc7 Avoid unnecessary encoder probing during startup and launch 2023-04-16 15:53:02 -05:00
Cameron Gutman
8f74c3b482 Leave reference frames unspecified if REF_FRAMES_RESTRICT is not supported
FFmpeg codecs specify their own defaults that we shouldn't override.
2023-04-16 15:53:02 -05:00
dependabot[bot]
808187397d
build(deps): bump sphinx-copybutton from 0.5.1 to 0.5.2 (#1182)
Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-04-16 12:02:54 -04:00
ns6089
7da33f7951 Remove unnecessary reference 2023-04-15 15:16:14 -05:00
ns6089
045d4b81a4 Switch between img and surface in last frame 2023-04-15 15:16:14 -05:00
ns6089
7b11b48317 Delayed capture buffer trim 2023-04-15 14:37:23 -05:00
Cameron Gutman
242a146712 Add DXGI_FORMAT_B8G8R8X8_UNORM as a supported capture format 2023-04-14 19:34:06 -05:00
Cameron Gutman
b5c8bbaa24 Fix color conversion for SDR FP16 capture formats 2023-04-14 19:34:06 -05:00
Morgan Helton
010440dbd3 add X11 to PLATFORM_LIBARIES when found 2023-04-11 21:20:24 -05:00
ns6089
7038c1aeb0 Create config directories recursively 2023-04-11 20:48:55 -05:00
Cameron Gutman
6467e10def Reprobe encoders each time streaming begins
Available encoders can change due to driver updates, GPU hotplugging, primary monitor changes, etc.
2023-04-11 20:21:18 -05:00