1701 Commits

Author SHA1 Message Date
Cameron Gutman
2f4cc9ace0 Add option to always send scancodes
Default is enabled to match v0.19.1 behavior

Fixes #1233
2023-05-25 19:31:39 -05:00
Cameron Gutman
0f1dc1bb05 Print a warning if GameStream is using conflicting ports 2023-05-25 19:07:13 -05:00
Cameron Gutman
f22ce25dad Fix systray after Explorer restart 2023-05-25 18:38:49 -05:00
Cameron Gutman
0e2eacb0ee Reduce opacity of placeholder text
This makes it more obvious that it's a placeholder
2023-05-24 20:34:13 -05:00
Cameron Gutman
fbb77aa7cd Prefer virtual sink over audio sink if host playback is disabled
Fixes "Play audio on host PC" option not working when audio sink is manually set
2023-05-24 20:34:13 -05:00
Cameron Gutman
78737d7611 Adjust descriptions on the A/V page to discourage manual settings 2023-05-24 20:34:13 -05:00
Cameron Gutman
f5e3353f82 Fix resolutions reported by dxgi-info.exe on high DPI systems 2023-05-24 18:23:32 -05:00
Cameron Gutman
5a4fd95765 Rewrite UPnP support
- Fixes port mappings expiring after a day
- Fixes support for IGDv1 gateways
- Fixes handling of gateway reboots/resets
2023-05-22 22:53:36 -05:00
Cameron Gutman
25e0244705 Stop reporting ExternalIP field to clients
At best, it doesn't help compared to Moonlight's STUN logic.

At worst, it makes things worse by providing an incorrect WAN address that overrides STUN.
2023-05-22 22:53:36 -05:00
Cameron Gutman
85af19150c Fix leak of AVPackets 2023-05-22 19:44:04 -05:00
Cameron Gutman
5b24148cfa Fix leak of VA driver resources on each encoder init 2023-05-22 19:44:04 -05:00
Cameron Gutman
8a9eed2f6f Fix leak of X509 on each HTTPS request 2023-05-22 19:44:04 -05:00
Cameron Gutman
31f72cdbff
Remove Boost_NO_BOOST_CMAKE=ON to fix Windows build (#1298) 2023-05-22 09:55:13 -04:00
Arthur Kasimov
8da2caf764
Do not add 'lizard' user inside Fedora 38 container to 'input' group (#1291) 2023-05-17 10:41:54 -04:00
Cameron Gutman
32ca9d41de Fix crash on exit if a process is currently running 2023-05-15 19:11:51 -06:00
Cameron Gutman
9955890023 Fix console session changes via fast user switching
We need to respawn Sunshine.exe in the new console session.
2023-05-15 19:11:51 -06:00
ReenigneArcher
f41e57ea8c
ci!: remove fedora 36 (#1244) 2023-05-15 20:12:35 -04:00
Cameron Gutman
33dafbc801 Add warning when Desktop Duplication API masks protected content from capture 2023-05-14 14:28:03 -05:00
Cameron Gutman
17124deb22 Fix const-correctness bugs in round_robin.h 2023-05-11 20:52:44 -05:00
Cameron Gutman
fabadaad2a Fix const-correctness bugs in uniq_ptr and code that uses it 2023-05-11 20:52:44 -05:00
Cameron Gutman
0fa406dbb7 Remove unnecessary moves in return statements 2023-05-11 20:52:44 -05:00
Cameron Gutman
ff046bb707 Fix and enable -Wmissing-braces 2023-05-11 20:52:44 -05:00
Cameron Gutman
390dc1c245 Fix unused-but-set-variable warnings on Mac and Linux 2023-05-11 20:52:44 -05:00
Cameron Gutman
2571682886 Fix pessimizing move warnings on Clang 2023-05-11 20:52:44 -05:00
Cameron Gutman
8db0ad0cc6 Fix and enable -Wmaybe-uninitialized 2023-05-11 20:52:44 -05:00
Cameron Gutman
f08ba0fd7c Fix missing override specifier on set_frame() 2023-05-11 20:52:44 -05:00
Cameron Gutman
a4f788f853 Replace Win32 UTF-16 conversion with std::wstring_convert
Removes VLA that upsets Clang and MSVC
2023-05-11 20:52:44 -05:00
Cameron Gutman
1c83a44222 Fix const reference and const pointer types in wrap_ptr
They were const refs to a T rather than a ref to a const T.
2023-05-11 20:52:44 -05:00
Cameron Gutman
f4bb410277 Treat dependency includes as system headers to suppress warnings 2023-05-11 20:52:44 -05:00
dependabot[bot]
8c85bcf64b build(deps): bump third-party/nv-codec-headers
Bumps [third-party/nv-codec-headers](https://github.com/FFmpeg/nv-codec-headers) from `2055784` to `2cd175b`.
- [Release notes](https://github.com/FFmpeg/nv-codec-headers/releases)
- [Commits](2055784e5d...2cd175b303)

---
updated-dependencies:
- dependency-name: third-party/nv-codec-headers
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-05-11 20:02:30 -05:00
istori1
9e23b39634 Add NO_RC_BUF_LIMIT vaapi 2023-05-11 18:59:13 -05:00
Cameron Gutman
71dcef8259 Fix systray icon sometimes not appearing after login 2023-05-11 18:32:33 -05:00
Cameron Gutman
53125ffeca
Add support for installing the Steam Streaming Speakers driver (#1262)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2023-05-09 20:02:28 -05:00
Cameron Gutman
4ae412b219 Allow localAudioPlayMode to change on /resume
Newer clients send all /launch parameters to /resume too
2023-05-08 18:57:55 -05:00
Cameron Gutman
66989a4690 Set the default back to the virtual sink if it's changed
Fixes #976
2023-05-08 18:57:55 -05:00
Cameron Gutman
bc392093a3 Reinitialize capture if the default audio device changes
We already reinitialized if the default device was removed, but we didn't in the case a new default device was set without removing the old one.
2023-05-08 18:57:55 -05:00
Cameron Gutman
ccdc882c13 Fix pessimising move warning with GCC 13.1 2023-05-08 18:57:55 -05:00
ReenigneArcher
7e8c43c796
fix(ui): use release url for nightly releases (#1260) 2023-05-07 21:03:20 -04:00
ReenigneArcher
4ca6dc6c8e
docs: update file level doxygen blocks (#1258) 2023-05-07 18:12:39 -04:00
ReenigneArcher
07808de447
docs: correct typo for task_pool (#1257) 2023-05-07 17:41:48 -04:00
ReenigneArcher
8f6ee0bc3c
ci: add fedora 38 (#1114) 2023-05-07 15:46:14 -04:00
ReenigneArcher
979f7f4e60
docs: improvements to source code documentation (#1236) 2023-05-07 15:01:44 -04:00
Cameron Gutman
97f18d6353 Fix audio capture reinitialization
We returned instead of continuing, so audio never worked after reinit.

We also had no retry logic if no audio device was available.
2023-05-07 11:52:57 -05:00
Cameron Gutman
86c854ce97 Allow streaming even if no audio sink is available 2023-05-07 11:52:57 -05:00
Cameron Gutman
e8963b8255 Only modify channel-related format attributes
Specifying sample rate will fail on devices using 192 KHz sample rate
2023-05-07 11:52:57 -05:00
Cameron Gutman
e1651461fb Add 5.1 Side and Quadraphonic configs 2023-05-07 11:52:57 -05:00
Cameron Gutman
e821f4d140 Fix misleading channel support information
All formats except the mix format were reported as unsupported, even if they were subsets of the mix format
2023-05-07 11:52:57 -05:00
Cameron Gutman
1d6ea8c759 Allow audio sinks to match on device names
Names are more stable than IDs on Windows
2023-05-07 11:52:57 -05:00
Cameron Gutman
3fa5f74635 Archive Win32 binaries with debug info for crash analysis
These can be used with cv2pdb to symbolicate memory dumps in WinDbg
2023-05-06 22:34:42 -05:00
kodemeister
343f200c75 Remove group and mode assignment from the udev rule 2023-05-06 14:37:45 -05:00