Commit Graph

854 Commits

Author SHA1 Message Date
Yukino Song
9753a996da Straighten logic when probing for encoders 2025-07-16 03:26:28 +08:00
Yukino Song
95c61a2b9e Always create temporary virtual display when initial probing fails 2025-07-16 01:53:13 +08:00
Yukino Song
1fd920ef1d Add option to ignore encoder probe failure 2025-07-16 01:51:16 +08:00
Yukino Song
fae6da3fb7 Fix warp modes w/ reduce stutters 2025-07-16 01:22:21 +08:00
Yukino Song
2a97b3cbff Fix API requests content type 2025-07-15 22:22:47 +08:00
Yukino Song
f59080817c Update key name for rumble forwarding 2025-07-14 01:32:45 +08:00
Yukino Song
afd8889901 Merge remote-tracking branch 'thesystemcoder168/block_rumble_functionality' into PR886 2025-07-14 01:28:28 +08:00
Yukino Song
8509611c26 Fix build 2025-07-13 23:50:28 +08:00
Yukino Song
e43420f18b Merge remote-tracking branch 'sunshine/master' 2025-07-13 23:16:01 +08:00
Mariotaku
01f281a4a3 fix(amf): attempt to use level 5.1/5.2 for hevc (#3888) 2025-07-07 14:53:40 -04:00
Cameron Gutman
c0823c7444 fix(power): don't wake up every 500ms to poll while not streaming (#4051) 2025-07-06 13:16:56 -05:00
Cameron Gutman
2a9bb98c6e fix(build): remove VLA zeroing to fix Clang build (#4052) 2025-07-06 00:50:34 -05:00
ReenigneArcher
7e95d536a9 build(windows): fix windows.rc line too long errors (#4048) 2025-07-04 11:43:45 -04:00
ReenigneArcher
2259141bd2 build(packaging): version number improvements (#4037) 2025-07-03 19:07:02 -04:00
thesystemcoder168
576fc4bcb8 Change logic to enable/disable rumble functionality
Change logic to enable/disable rumble functionality instead of enable block rumble functionality
2025-07-03 05:54:30 -07:00
LizardByte-bot
65f14e1003 chore(l10n): update translations (#3582)
Co-authored-by: Shen-Ta Hsieh(BestSteve) <ibmibmibm.tw@gmail.com>
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2025-06-27 20:45:10 -04:00
ReenigneArcher
27f71c3895 fix(video): base min frame time strictly on client framerate (#3844) 2025-06-27 18:17:15 -04:00
axfla
2f27a57d01 Merge commit from fork 2025-06-27 17:27:35 -04:00
TheElixZammuto
738ac93a0e Merge commit from fork
* (security) Mandate content-type on POST calls

* (security) Add JSON content-type in POST requests with a body

* Added Content Type on missing endpoints

* (review) docs and newlines

* (docs) add JSON content type header

* style(clang-format): fix lint errors

---------

Co-authored-by: axfla <axfla@hotmail.fr>
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2025-06-27 16:57:59 -04:00
thesystemcoder168
54cb7eceba Added option to disable rumble from the Apollo side
Added option to disable rumble from the Apollo side
2025-06-25 16:13:04 -07:00
water-vapor
926cafa6a9 fix(macOS): nil displayName on macOS 26 beta (#3991) 2025-06-21 17:19:11 -04:00
ReenigneArcher
8e061c44c5 fix(deps): workaround miniupnpc type_t error (#3993) 2025-06-21 15:41:59 -04:00
Cameron Gutman
9db11a9061 feat(security/windows): Add defense-in-depth measure for insecure system PATH configuration (#3971)
feature(security/windows): Add defense-in-depth measure for insecure system PATH configuration

If an administrator has configured their system insecurely by adding a
user-writeable path to the system-wide PATH variable, this can cause
apps running as admin to load DLLs planted in this directory.

While the root cause is clearly the misconfigured system, we can reduce
Sunshine's exposure to this by asking Windows not to search the PATH.

https://devblogs.microsoft.com/oldnewthing/20200420-00/?p=103685
2025-06-12 23:11:03 -04:00
Coia Prant
0ad1b1234e chore: drop 32-bit and add more x86_64 check (#3938)
Signed-off-by: Coia Prant <coiaprant@gmail.com>
2025-06-08 13:28:25 -04:00
Yukino Song
a09c18cf9e Merge pull request #785 from danielmartina/wgc-framerate-fix
Resolve 60 fps lock issue for WGC capture by setting the MinUpdateInterval property of the WGC capture session.
2025-06-07 18:45:04 +08:00
Yukino Song
cd91170442 Nyquist-Shannon 2025-06-07 18:44:04 +08:00
Yukino Song
6c7f07dd5a Auto terminate input only session 2025-06-06 16:59:08 +08:00
Yukino Song
0c3d1b6b06 Try fix #814 2025-06-06 16:56:51 +08:00
Yukino Song
f174c7772c Fix #813 2025-06-06 16:51:23 +08:00
Yukino Song
0f9e7aa17f WebUI: Support starting apps from local client 2025-06-05 19:44:31 +08:00
Yukino Song
f262852838 Add always use virtual display option for clients 2025-06-05 16:32:13 +08:00
Yukino Song
3e0cbaf2c2 Implement pause/resume commands w/ APOLLO_APP_STATUS envvar 2025-06-05 15:40:03 +08:00
Yukino Song
d316b272da Add terminate on pause option for apps (resolves #801) 2025-06-04 19:02:10 +08:00
Yukino Song
e52176707f Fix launching remote input only with UUID 2025-06-03 01:46:44 +08:00
Andreas Nilsson
246994dabe Fix build problems on Linux 2025-05-31 22:53:48 +02:00
Yukino Song
1ca19853c2 Fix encoder probing when no display is active 2025-05-31 15:04:06 +08:00
Danim
d293fee801 Set capture_session.MinUpdateInterval for WGC capture
Resolves 60 fps lock issue for WGC capture
2025-05-30 19:15:23 +02:00
Yukino Song
34766201d2 Remove trialing space in process.cpp 2025-05-29 18:00:06 +08:00
Yukino Song
2d0e5c7c4a Enable legacy ordering and client commands by default for newly paired clients 2025-05-29 15:29:40 +08:00
Yukino Song
2f89d85fca Add legacy ordering support toggle for each client 2025-05-28 22:53:22 +08:00
Yukino Song
4030680fcc App ordering support for legacy clients 2025-05-28 20:38:27 +08:00
Yukino Song
a3e0318794 Validate application/json on server side 2025-05-28 18:01:48 +08:00
Yukino Song
b2ec048333 Fix WebUI 2025-05-28 13:47:58 +08:00
Yukino Song
542c4e315b misc 2025-05-26 17:33:00 +08:00
Yukino Song
1e71cc0662 Make clang happy 2025-05-26 17:24:41 +08:00
Yukino Song
a1ecd25700 Bump boost to 1.88.0 2025-05-26 11:37:40 +08:00
Yukino Song
a94e8ec4f9 Merge remote-tracking branch 'sunshine/master' 2025-05-25 19:45:07 +08:00
Andy Grundman
3092471be5 fix(rtp): improve timestamp accuracy for video (#3883)
Instead of using now() when the RTP packet is created, use the earlier packet->frame_timestamp that we're already collecting for host latency stats. This timestamp is more accurate to when we captured the frame, and the same timestamp value is shared by all RTP packets that make up the same video frame. Duplicate frames without capture timestamps use the ratecontrol timestamp.
2025-05-21 19:56:41 -04:00
thesystemcoder168
12f3ba2d4b Add the option to always have the virtual display be an isolated display - Windows only (#662)
* Isolated display - web and backend

Isolated display - web and backend

* Moved settings outside of the advanced display

* Update virtual_display.cpp with isolated setting for better maintenance

Update virtual_display.cpp with isolated setting for better maintenance. The isolated routine becomes an additional routine instead of a replacement for the original one.

* Changed source formatting, removed English in non-English languages, removed test code

Changed source formatting, removed English in non-English languages, removed test code

* change blank/unused lines in config.cpp

change blank/unused lines in config.cpp

* Change blank lines in DisplayDeviceOptions.vue

Change blank lines in DisplayDeviceOptions.vue

* Change line spacing in config.h

Change line spacing in config.h

* Changed line spacing in config.cpp

Changed line spacing in config.cpp

* Changed lines/line spacing in virtual_display.cpp

Changed lines/line spacing in virtual_display.cpp

* Fix spaceing on virtual_display.cpp

Fix spaceing on virtual_display.cpp

* Added check to not do anything if the virtual display is not active.

Added check to not do anything to the order of the displays if the isolated checkbox is set and if the virtual display is not active.

* Minor formatting fix w/ add Chinese locale

* Expose `matchDisplay` though not used for now

---------

Co-authored-by: Yukino Song <nutosservice@gmail.com>
2025-05-19 15:00:11 +08:00
Yukino Song
b0871a9a5b Add gamepad override for each app 2025-05-19 14:22:17 +08:00