Commit Graph
374 Commits
Author SHA1 Message Date
ReenigneArcher 8a0a2854be fix: Validate AMD max_au_size and update docs
Adds explicit validation for `amd_max_au_size` so only unset or values >= -1 are applied, matching FFmpeg/AMF expectations. Updates the web config input bounds and wording to clarify this as a last-resort FEC protection cap (H.264/HEVC only), and refreshes configuration docs with improved sizing guidance. Also expands unit coverage for codec option mapping and config parsing edge cases, including range boundaries.
2026-08-21 10:10:36 -04:00
pollopopo 8d3f1abe3b fix: correct recommended max_au_size value and add sizing formula
800000 bits (~97 KB/frame, ~46 Mbps at 60fps) is the correct
recommended value for Wi-Fi streaming, not 6400000.

Added formula for users to calculate based on their bandwidth:
  (target_bitrate_mbps / fps / 1.2) * 1000000
where 1.2 accounts for ~20% FEC overhead.
2026-08-20 23:18:24 -04:00
pollopopo 7be86ac13d fix: correct max_au_size units (bits not bytes), remove AV1 support
Address review feedback:
- max_au_size is in bits per FFmpeg AMF documentation, not bytes
- AV1 encoder (av1_amf) does not support max_au_size, removed
- Updated UI description, docs, and recommended value accordingly
- FFmpeg default is -1 (disabled), aligned placeholder
2026-08-20 23:18:23 -04:00
pollopopo e9ba442cb9 feat(amf): add configurable max_au_size to cap encoded frame size
Add a new optional AMF encoder parameter `amd_max_au_size` that caps
the maximum encoded frame (Access Unit) size in bytes.

When the AMF encoder (especially under CQP rate control) produces
oversized frames, they can exceed the FEC shard limit
(DATA_SHARDS_MAX=255 per block, max 4 blocks). When this happens,
FEC error correction is skipped for those frames entirely
(stream.cpp line 1373). On Wi-Fi networks, these large unprotected
frames are highly susceptible to packet loss, causing visible
dropped frames, stuttering, and stream instability.

By setting `amd_max_au_size` (e.g. 800000 bytes), the hardware
encoder itself enforces the frame size cap, ensuring every frame
stays within FEC protection limits. This works with all rate
control modes (CQP, CBR, VBR) and all three codecs (H.264, HEVC,
AV1). Disabled by default (0 or empty) to preserve existing
behavior.

Tested on AMD RDNA4 (RX 9070 XT) streaming over 5GHz Wi-Fi with
CQP mode. Setting max_au_size to 800000 eliminated FEC bypass
warnings and significantly improved stream stability.
2026-08-20 23:18:22 -04:00
Dave Lane 687e12d013 feat(input): implement libvirtualhid adding new gamepad styles (#5368) 2026-08-16 15:24:58 -04:00
Dave Lane cf52f4b6f3 build(windows): default to qt6-static (#5497) 2026-08-11 11:56:20 -04:00
Dave Lane 7df8c62ea7 feat(logging): rotating log files (#5485) 2026-08-07 21:12:25 -04:00
Dave Lane 089f15d4b6 chore: migrate to qt tray for all platforms (#5260) 2026-07-28 22:22:43 -04:00
Kishi a55d2d99c4 feat(linux): use connector name as default display name on linux (#5423) 2026-07-21 20:11:30 -04:00
Conn O'Griofa 9d2409f71b fix(docs/linux): add Portal and EGL context tips (#5419) 2026-07-15 16:51:18 -04:00
Conn O'Griofa 71acfc57ec feat(linux/vaapi): VAAPI encoder improvements (#5388) 2026-07-15 10:41:22 -04:00
Dave Lane eb8dfde19c chore(packaging): Drop Windows NSIS builds and rename ZIP to lite (#5405) 2026-07-12 14:56:20 -04:00
Dave Lane 3377f7a73f refactor(sonar): migrate worker threads to std::jthread (#5398) 2026-07-12 00:30:05 -04:00
Dave LaneandKishi 09dc9e4c35 chore: use lizardbyte-common in c++ (#5356)
Co-authored-by: Kishi <41839133+Kishi85@users.noreply.github.com>
2026-06-30 19:12:10 -04:00
Dave Lane a991a9622c docs(doxygen): enforce warn if undocumented (#5337) 2026-06-25 22:43:17 -04:00
David Lane 98ee1d00f5 chore(deps): use lizardbyte-common for python helpers (#5250) 2026-06-04 19:48:38 -04:00
Sev7een fe50019960 docs(contributing): refresh clang-format guidance (#5233) 2026-05-31 12:34:15 -04:00
David Lane 0e35140576 build(python): migrate to uv (#5222) 2026-05-30 17:37:14 -04:00
David LaneandKishi dbce229174 fix(linux): migrate to qt tray (#4907)
Co-authored-by: Kishi <41839133+Kishi85@users.noreply.github.com>
2026-05-24 22:21:24 -04:00
David Lane 0bc26a3f17 build(freebsd): fix npm install (#5182) 2026-05-24 19:28:52 -04:00
David Lane 68f671809c fix(web-ui): add documentation link and version-aware URLs (#5176) 2026-05-24 12:17:24 -04:00
Georgi Valkov 3a69acefa0 feat(rtsp): add option to limit packetsize for clients that cannot configure it (#5153)
Signed-off-by: Georgi Valkov <gvalkov@gmail.com>
2026-05-21 11:43:53 -04:00
David Lane 82a68ebc4d chore: fixes for release automation (#5142) 2026-05-17 21:19:20 -04:00
David Lane 14ffa6fdaa build: bump freebsd version to 14.4 and build-deps to v2026.516.30821 (#5129) 2026-05-16 10:38:33 -04:00
David Lane 0899b3412b build(linux): add ubuntu 26.04 support (#5051) 2026-05-06 23:59:05 -04:00
Willian Barreto dd30d0555f feat(input): implement multiseat support and virtual device naming (#4954) 2026-05-05 18:12:16 -04:00
KishiandRamalama2 a90d3068e9 feat(capture/linux): add KWin direct screencast capture method (#5009)
Co-authored-by: Ramalama2 <6314556+Ramalama2@users.noreply.github.com>
2026-05-04 20:58:35 -04:00
neatnoise eb45ea785a fix(linux/vulkan): change default rate control from VBR to CBR (#5032) 2026-04-20 13:06:00 -04:00
Andy GrundmanandReenigneArcher a5af790710 feat(nvenc): support for split frame encoding on GPUs with 2+ nvenc blocks (#4892)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2026-04-19 17:44:10 -04:00
neatnoise 0752f641b1 feat(linux): Add Vulkan video encoder (#4603) 2026-03-30 22:17:00 -04:00
neatnoise d03334693c feat(api/ui): add client enable/disable access control (#4771) 2026-03-29 12:58:00 -04:00
Conn O'Griofa ae8adfd8ed feat(linux/glad): implement EGL_IMG_context_priority (#4857) 2026-03-21 20:27:21 -04:00
Thomas Van LaereandDavid Lane 0d3be0bb1e feat(macOS): Capture audio on macOS using Tap API (#4209)
Co-authored-by: David Lane <42013603+ReenigneArcher@users.noreply.github.com>
2026-03-20 22:50:52 -04:00
Conn O'Griofa 253e624ee8 fix(linux/xdgportal): allow unified systemd service for all capture methods (#4854) 2026-03-16 14:25:30 -04:00
David LaneandConn O'Griofa ea201155f4 build(linux): generate glad sources at compile time (#4798)
Co-authored-by: Conn O'Griofa <connogriofa@gmail.com>
2026-03-15 21:21:41 -04:00
David Lane e836354e5a feat(web-ui): add browse feature to find directories/executables/files (#4848) 2026-03-13 22:55:04 -04:00
David Lane f04f6a2bde refactor(confighttp): HTML page handlers into generic getPage function (#4645) 2026-03-08 18:36:22 -04:00
Conn O'GriofaandReenigneArcher daa99db662 fix(linux): use FQDN naming for all Linux packaging types (#4779)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2026-03-07 14:15:50 -05:00
David Lane 438b2391db ci(macOS): check notary status in separate job (#4820) 2026-03-06 20:15:53 -05:00
David Lane 2620019b8f docs: add maintainer release instructions (#4773) 2026-02-24 22:35:45 -05:00
David Lane 766473f691 build(python): migrate to pyproject.toml and bump python to 3.14 (#4772) 2026-02-24 19:29:40 -05:00
Coia Prant 8aed1a82c8 build(web-ui): fix rollup failing (#4687) 2026-02-08 15:30:40 -05:00
David Lane 5bd3a2b225 docs: miscellaneous updates (#4597) 2026-02-08 00:12:38 -05:00
d591643706 build(windows): add arm64 support (#3905)
Signed-off-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
Signed-off-by: Coia Prant <coiaprant@gmail.com>
Co-authored-by: Ricky8955555 <rkmiao@duck.com>
Co-authored-by: Mike Fara <mjfara@gmail.com>
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2026-02-07 21:03:05 -05:00
David Lane cdc444314f feat(installer/windows): add wix installer (#3916) 2026-02-07 15:21:25 -05:00
David Lane e2652fa52b refactor(packaging/windows): installer script execution (#4675) 2026-02-07 13:04:43 -05:00
874880e5ea feat(linux)!: Support streaming through XDG portals and Pipewire (#4417)
Co-authored-by: Carlos Garnacho <carlosg@gnome.org>
Co-authored-by: Carson Katri <Carson.katri@gmail.com>
Co-authored-by: Bond <bond-d@ukr.net>
Co-authored-by: d.bondarev <d.bondarev@crm-onebox.com>
Co-authored-by: Conn O'Griofa <connogriofa@gmail.com>
2026-02-03 08:19:02 -05:00
David Lane 3ce39b36d0 fix(web-ui): modernize UI (#4631) 2026-01-29 10:16:37 -05:00
Cilps the PumpkinandReenigneArcher 76b3a8596f feat(api): add application image endpoint (#4627)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
2026-01-27 16:34:03 -05:00
David Lane 7e286b90b6 feat(windows): add ViGEmBus driver management API and UI integration (#4625)
Introduces backend API endpoints for ViGEmBus status and installation, updates Windows build scripts to handle ViGEmBus versioning and installer download, and integrates ViGEmBus status and installation controls into the web UI. Removes legacy PowerShell scripts for gamepad driver management and related NSIS installer commands.
2026-01-25 12:06:51 -05:00