Skip to content

[UE5.7] Viewport resolution scale parameter 2 (#759)#808

Merged
mcottontensor merged 1 commit intoUE5.7from
backport/UE5.7/pr-759
Apr 23, 2026
Merged

[UE5.7] Viewport resolution scale parameter 2 (#759)#808
mcottontensor merged 1 commit intoUE5.7from
backport/UE5.7/pr-759

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

Backport

This will backport the following commits from master to UE5.7:

Questions ?

Please refer to the Backport tool documentation

* Add ViewportResolutionScale configuration parameter

* Add Docs for Viewport Resolution Scale in Frontend/Docs/Settings Panel.md

* Address PR feedback: improve ViewportResolutionScale configuration

* Harden ViewportResScale: round output, warn past encoder limit, rename constant

- Round scaled dimensions to integers before sending Resolution.Width /
  Height commands to UE (non-integers were being JSON-stringified and
  handed to cvar parsing).
- Warn via Logger when a scaled dimension exceeds the H.264 4096 limit so
  large viewports with high scales surface a clear encoding-failure hint.
- Rename NumericParameters.ViewportResolutionScale -> ViewportResScale so
  the TS constant matches the URL-param / persisted key ('ViewportResScale').
- Add Config.hasNumericSetting and fall back to 1.0 in VideoPlayer when
  the setting is absent, so custom Config subclasses do not throw on
  every resize.
- Add VideoPlayer Jest coverage for default, scaled, rounded, >4096-warn,
  within-limit, missing-setting-fallback, and flag-disabled paths.

---------

Co-authored-by: Matthew.Cotton <matt@tensorworks.com.au>
(cherry picked from commit 60da95c)
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 23, 2026

🦋 Changeset detected

Latest commit: 9cf60b8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@epicgames-ps/lib-pixelstreamingfrontend-ui-ue5.7 Minor
@epicgames-ps/lib-pixelstreamingfrontend-ue5.7 Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mcottontensor mcottontensor merged commit 72c5c53 into UE5.7 Apr 23, 2026
7 checks passed
@mcottontensor mcottontensor deleted the backport/UE5.7/pr-759 branch April 23, 2026 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants