ReenigneArcher
29e4d6aa70
refactor(logging): centralize messages and extensible outputs
...
Replace Boost logging calls with Sunshine text, format, and lazy builder functions to address cpp:S6996 at the shared source. Keep Boost private to the backend and provide independently owned synchronous or asynchronous sinks for future outputs.
Add API, filtering, delivery, ownership, failure, periodic formatting, and external callback tests. Validate with the native build, 53 focused logging tests, Clang syntax checks, Linux syntax checks, and strict Doxygen. The broader native run has only the existing licensed HID broker failure.
2026-10-11 19:20:47 -04:00
ReenigneArcher
15b06f1707
refactor(config): inject owned settings into runtime services
...
Replace namespace configuration state with an application-owned store. Pass immutable startup settings into services, platform capture and encoder contexts, network helpers, CLI commands, and tray callbacks. Keep runtime credentials in synchronized snapshots and gamepad policy in its input owner.
Validation: UCRT64 sunshine, test_sunshine, audio-info, and sunshinesvc builds with tray support; 566 regression tests passed and 5 device/workflow tests skipped; strict production Doxygen, required clang-format, and CLI smoke checks passed. Full Linux/macOS builds, hardware coverage, and hosted Sonar reanalysis remain CI validation.
2026-10-11 14:37:32 -04:00
ReenigneArcher
16483edf2b
refactor(servers): own HTTP process session and display state
2026-10-11 14:37:31 -04:00
Dave Lane
31392866b1
refactor: resolve Sonar cpp:S5945 findings ( #5897 )
2026-10-11 10:12:57 -04:00
Dave Lane
9124e77f8a
fix(network): respect configured bind address ( #5700 )
2026-09-12 20:35:11 -04:00
Dave Lane
aa92000dc6
refactor: pairing flow, pairing tests, and inline struct comments ( #5602 )
2026-09-03 08:51:02 -04:00
Dave Lane
82bccdf698
Merge commit from fork
2026-09-02 20:08:24 -04:00
Dave Lane
c75d5d769b
feat(input): update libvirtualhid integration ( #5563 )
2026-08-29 21:09:02 -04:00
Dave Lane
687e12d013
feat(input): implement libvirtualhid adding new gamepad styles ( #5368 )
2026-08-16 15:24:58 -04:00
dependabot[bot] and ReenigneArcher
965c91a428
build(deps): bump third-party/lizardbyte-common from 06cd442 to 011ad2b ( #5457 )
...
* build(deps): bump third-party/lizardbyte-common
Bumps [third-party/lizardbyte-common](https://github.com/LizardByte/lizardbyte-common ) from `06cd442` to `011ad2b`.
- [Release notes](https://github.com/LizardByte/lizardbyte-common/releases )
- [Commits](https://github.com/LizardByte/lizardbyte-common/compare/06cd442b808f02f1674f3192a84d25b9a503c482...011ad2bb139083dcf4ec21f9c09f07470891a668 )
---
updated-dependencies:
- dependency-name: third-party/lizardbyte-common
dependency-version: 011ad2bb139083dcf4ec21f9c09f07470891a668
dependency-type: direct:production
...
Signed-off-by: dependabot[bot] <support@github.com >
* style: run clang-format across C++ sources
Reformatted conditionals, loops, and long function calls across core, platform, NVENC, and test helper code to match updated formatting rules, including minor spacing normalization in type declarations. These are style-only edits with no intended behavior changes.
---------
Signed-off-by: dependabot[bot] <support@github.com >
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com >
2026-07-28 08:08:12 -04:00
Dave Lane
3377f7a73f
refactor(sonar): migrate worker threads to std::jthread ( #5398 )
2026-07-12 00:30:05 -04:00
Cameron Gutman
c42d20eb1a
perf(deps): switch to upstream nanors runtime dispatching ( #5369 )
2026-07-03 22:31:23 -04:00
Dave Lane
a991a9622c
docs(doxygen): enforce warn if undocumented ( #5337 )
2026-06-25 22:43:17 -04:00
neatnoise
3a196379c7
fix(web): disconnect only the disabled client instead of all sessions ( #5138 )
2026-05-18 18:53:57 -04:00
David Lane
188f1e2959
style(cpp): separate multiple variable declarations ( #4795 )
2026-03-01 09:02:17 -05:00
David Lane
2b7af2119d
refactor: replace macros with constexpr/consts ( #4791 )
2026-02-28 18:22:33 -05:00
Andy Grundman
3a12f96a86
perf(threads): implement adjust_thread_priority for macOS and add set_thread_name ( #4605 )
2026-01-22 19:38:09 -05:00
Andy Grundman
aea9512682
chore: clean up implicit conversions ( #4611 )
2026-01-22 14:39:52 -05:00
David Lane
0aa7e3fd67
feat(network): allow binding to specific interface ( #4481 )
2025-12-23 13:08:12 -05:00
David Lane
1d6d916b7a
build: add freebsd support ( #4049 )
2025-11-11 23:46:11 -05:00
Andy Grundman
3092471be5
fix(rtp): improve timestamp accuracy for video ( #3883 )
...
CI / GitHub Env Debug (push) Has been cancelled
CI / Setup Release (push) Has been cancelled
CI Docker / Check Dockerfiles (push) Has been cancelled
CodeQL / Get language matrix (push) Has been cancelled
localize / Update Localization (push) Has been cancelled
Build GH-Pages / prep (push) Has been cancelled
CI / Linux Flatpak (aarch64, ubuntu-22.04-arm) (push) Has been cancelled
CI / Linux Flatpak (x86_64, ubuntu-22.04) (push) Has been cancelled
CI / Linux AppImage (push) Has been cancelled
CI / Homebrew (macos-13) (push) Has been cancelled
CI / Homebrew (macos-14) (push) Has been cancelled
CI / Homebrew (ubuntu-latest) (push) Has been cancelled
CI / Homebrew (ubuntu-latest (Release)) (push) Has been cancelled
CI / Windows (push) Has been cancelled
CI Docker / Setup Release (push) Has been cancelled
CI Docker / Docker${{ matrix.tag }} (push) Has been cancelled
CodeQL / Analyze (${{ matrix.name }}) (push) Has been cancelled
Build GH-Pages / call-jekyll-build (push) Has been cancelled
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
ABeltramo
f65bb842ff
feat(input/linux): DualSense adaptive trigger support ( #3738 )
2025-03-26 19:16:20 -04:00
VMFortress
5b36357133
feat(display): Add revert display config on disconnect option ( #3613 )
CI / GitHub Env Debug (push) Has been cancelled
CI / Setup Release (push) Has been cancelled
CI / Setup Flatpak Matrix (push) Has been cancelled
CI Docker / Check Dockerfiles (push) Has been cancelled
CodeQL / Get language matrix (push) Has been cancelled
localize / Update Localization (push) Has been cancelled
Build GH-Pages / prep (push) Has been cancelled
CI / Linux Flatpak (push) Has been cancelled
CI / Linux ${{ matrix.type }} (--appimage-build, 22.04, AppImage) (push) Has been cancelled
CI / Homebrew (${{ matrix.os_name }}-${{ matrix.os_version }}${{ matrix.release == true && ' (Release)' || '' }}) (macos, 13) (push) Has been cancelled
CI / Homebrew (${{ matrix.os_name }}-${{ matrix.os_version }}${{ matrix.release == true && ' (Release)' || '' }}) (macos, 14) (push) Has been cancelled
CI / Homebrew (${{ matrix.os_name }}-${{ matrix.os_version }}${{ matrix.release == true && ' (Release)' || '' }}) (ubuntu, latest) (push) Has been cancelled
CI / Homebrew (${{ matrix.os_name }}-${{ matrix.os_version }}${{ matrix.release == true && ' (Release)' || '' }}) (ubuntu, latest, true) (push) Has been cancelled
CI / Windows (push) Has been cancelled
CI Docker / Setup Release (push) Has been cancelled
CI Docker / Docker${{ matrix.tag }} (push) Has been cancelled
CodeQL / Analyze (${{ matrix.name }}) (push) Has been cancelled
Build GH-Pages / call-jekyll-build (push) Has been cancelled
2025-01-30 16:02:22 -05:00
ReenigneArcher and Vithorio Polten
c2420427b1
style: adjust clang-format rules ( #2186 )
...
Co-authored-by: Vithorio Polten <reach@vithor.io >
2025-01-19 22:34:47 -05:00
Lukas Senionis
76bea8acb9
feat(display): Configure display device based on user config ( #3441 )
CI / GitHub Env Debug (push) Waiting to run
CI / Setup Release (push) Waiting to run
CI / Setup Flatpak Matrix (push) Waiting to run
CI / Linux Flatpak (push) Blocked by required conditions
CI / Linux ${{ matrix.type }} (--appimage-build, 22.04, AppImage) (push) Blocked by required conditions
CI / Homebrew (${{ matrix.os_name }}-${{ matrix.os_version }}${{ matrix.release == true && ' (Release)' || '' }}) (macos, 13) (push) Blocked by required conditions
CI / Homebrew (${{ matrix.os_name }}-${{ matrix.os_version }}${{ matrix.release == true && ' (Release)' || '' }}) (macos, 14) (push) Blocked by required conditions
CI / Homebrew (${{ matrix.os_name }}-${{ matrix.os_version }}${{ matrix.release == true && ' (Release)' || '' }}) (ubuntu, latest) (push) Blocked by required conditions
CI / Homebrew (${{ matrix.os_name }}-${{ matrix.os_version }}${{ matrix.release == true && ' (Release)' || '' }}) (ubuntu, latest, true) (push) Blocked by required conditions
CI / Windows (push) Blocked by required conditions
CI Docker / Check Dockerfiles (push) Waiting to run
CI Docker / Setup Release (push) Blocked by required conditions
CI Docker / Docker${{ matrix.tag }} (push) Blocked by required conditions
CodeQL / Get language matrix (push) Waiting to run
CodeQL / Analyze (${{ matrix.name }}) (push) Blocked by required conditions
localize / Update Localization (push) Waiting to run
Build GH-Pages / prep (push) Waiting to run
Build GH-Pages / call-jekyll-build (push) Blocked by required conditions
2025-01-07 20:40:48 -05:00
ReenigneArcher
1e2fc2eb10
build(deps): fix boost 1.87 compatibility ( #3457 )
2024-12-17 08:53:55 -05:00
Cameron Gutman
73d777fa0b
feat(stream)!: remove limit on concurrent sessions and allow quitting apps with active sessions ( #3325 )
2024-10-24 19:11:50 -05:00
Cameron Gutman
3935d305ae
Implement S/G IO for batched sends and eliminate another frame copy ( #2874 )
2024-07-19 04:04:18 +00:00
Cameron Gutman
81c6e61594
Implement S/G IO for non-batched sends and eliminate more data copies ( #2867 )
2024-07-18 02:34:56 +00:00
Cameron Gutman
d57c66fa9c
Eliminate a redundant alloc+copy of each frame ( #2852 )
...
* Eliminate a redundant alloc+copy for each frame
* Replace std::copy_n() with std::memcpy() for better code generation
2024-07-14 12:23:19 -05:00
ns6089
18e7dfb190
Refactor periodic loggers and limit batch size for small packets ( #2835 )
...
* Refactor periodic loggers
* Limit network batch size also by packet count
Previously it was limited only by size, and exceeding 64 packets in a
single batch is asking for problems.
2024-07-13 20:55:03 +00:00
Cameron Gutman
e7c420dd6e
Provide SSSE3, AVX2, and AVX512 optimized Reed-Solomon functions ( #2828 )
...
* Provide SSSE3, AVX2, and AVX512 optimized Reed-Solomon functions
* Update nanors to fix AVX-512 memory corruption
2024-07-11 20:22:57 -05:00
ns6089 and Cameron Gutman
037c61dc99
Implement basic network flow control ( #2803 )
...
Co-authored-by: Cameron Gutman <aicommander@gmail.com >
2024-07-11 00:03:16 +00:00
ReenigneArcher
1dd4b68e1c
docs(src): add examples alias and general cleanup ( #2763 )
2024-06-28 08:34:14 -04:00
Gyanesh Patra
fdb443a7c6
Fix log message for Periodic Ping ( #2538 )
2024-05-19 17:31:14 -04:00
ReenigneArcher
2da6fb050a
fix(logging): add logging namespace and create logging::init method ( #2336 )
2024-04-02 20:57:57 -04:00
Cameron Gutman
83e3ea5aa7
Use a common function to abort for debugging purposes
2024-02-27 21:21:16 -06:00
ReenigneArcher
8689469ea8
refactor(main): move remaining entry related code ( #2127 )
2024-02-11 14:15:45 -05:00
ReenigneArcher
1c50bc502b
refactor(main): move map_port to network ( #2115 )
2024-02-09 09:15:47 -05:00
ReenigneArcher
0aa4f06c39
refactor(logging): separate logging from main ( #2110 )
2024-02-07 09:59:24 -05:00
Cameron Gutman
dea1155983
Inform clients of graceful termination when Sunshine exits
2024-02-04 16:43:59 -06:00
Cameron Gutman
ca29eac53a
Refactor RTSP handling to be session-based rather than socket-based
...
This is required to support per-session attributes like encryption keys during RTSP message processing.
2024-02-03 15:05:43 -06:00
Cameron Gutman
5c9533f6d7
Allow DSCP tagging and local traffic prioritization to be enabled separately on Mac and Linux
2024-02-02 18:30:48 -06:00
Cameron Gutman
9dfe97d405
Send the frame number in the encrypted video header
2024-01-25 23:43:30 -06:00
Cameron Gutman
65851407b1
Avoid unnecessary reallocation of the IV for every packet
2024-01-25 23:43:30 -06:00
Cameron Gutman
a10ec3a98a
Drop unencrypted messages on the encrypted control stream
2024-01-19 18:57:58 -06:00
Cameron Gutman
c88fa655f5
Implement video encryption
2024-01-19 18:57:58 -06:00
Cameron Gutman
23fb07d4a2
Implement control stream v2 encryption
2024-01-19 18:57:58 -06:00
Cameron Gutman
2f80145b8e
Change crypto::aes_t to variable size and cleanup some crypto code
2024-01-19 18:57:58 -06:00
Cameron Gutman
3d6e7f447a
Refactor audio encryption to use new encryption flags
2024-01-19 18:57:58 -06:00