LogoLogo
Quick Links
  • Arcware Cloud
  • Arcware Cloud Platform
    • Getting started with Arcware Cloud
      • Sign up and sign in
      • Select a Plan & Creating your Tenant
      • Creating your Tenant
      • 04. Creating your first project
      • 05. Upload and manage your Unreal packages
      • 06. Setting up your project
      • 07. Preview and share the stream
      • 08. Upgrade your Tenant
      • 👑09. Organization
      • 👑10. Add-ons
      • 11. Help Center
      • 👑12. Customer Support
    • 👑Add-ons guide
      • Direct Flow
      • Asset Management
    • Advanced settings
      • 01. AFK Module - User inactivity
      • 02. Max instance run-time
    • Common Arcware Cloud Questions
  • Unreal Engine Setup
    • Set up Pixel Streaming in your own project​
      • 01. Core Settings
        • 01.1. Plugin
        • 01.2. Pixel Streaming Input / Json messages
        • 01.3. Resolution
        • 01.4. Camera Aspect Ratio
        • 01.5. Framerate
        • 01.6. Mouse
        • 01.7. Touch Input Setup for Mobile
        • 01.8. DirectX version
      • 02. Optional Settings
        • 02.1 Touch Controllers
        • 02.2 Playing Media files
    • Using the Arcware Pixel Streaming Template Project
      • Template Overview
      • Getting Started
        • 01. Template download
        • 02. Arcware Blueprints
          • 02.1. Arcware GameMode
          • 02.2. Arcware Player Controller
            • 02.2.1. Sending and Receiving Json messages
            • 02.2.2. Creating and Testing Your Own Events
          • 02.3. Arcware Pawn
            • 02.3.1 Change Movement Mode
            • 02.3.2 Set Collision Channels
            • 02.3.3 Add new camera views
          • 02.4. Arcware HUD
        • 03. Packaging your project
  • ARCWARE FEATURES
    • Screenshot Functionality
      • Frontend Overview
        • Web UI
        • In-Game UI
      • Blueprint overview
  • Web Integration
    • ⬆️PixelStreaming WebSDK
      • Implementing the stream on your app
        • Getting Started
        • Code examples
          • Javascript + HTML
          • React
          • VueJS
          • AngularJS
        • Migration from @arcware/webrtc-plugin
        • Best practices
      • Configuration
      • Interacting with the Stream
        • Stream Container
        • Video Element
        • Customizing the User Interface
        • Handling Dynamic Content
        • Stream Display Customization
      • Interacting with Unreal Engine
      • In depth
        • Ticket destroyed.
        • Events handlers
        • Disconnect
        • ConnectionIdentifier
        • Settings-Menu
        • AFK-module
      • Showcase
    • ⬇️WebRTC Plugin
      • Getting started
      • Props and Types
      • SizeContainer, container and videoRef
      • Enabling the audio
      • Afk-module
      • Interacting with Unreal Engine
      • Example WebRTC Plugin Applications
        • React
        • AngularJS
        • VueJS
        • Plain HTML
Powered by GitBook
LogoLogo

Arcware Cloud Platform

  • Getting started​
  • Add-ons guide
  • Common Arcware Cloud Questions

Unreal Engine Setup

  • Set up Pixel Streaming in your own project​
  • Using the Arcware Pixel Streaming Template Project
  • Common Unreal Engine Questions

Arcware Features

  • Screenshot Functionality

Web Integration

  • PixelStreaming WebSDK
  • WebRTC Plugin

Copyright 2024 - Arcware GmbH

On this page
  • Start Resolution
  • Dynamic Resolution
  1. Unreal Engine Setup
  2. Set up Pixel Streaming in your own project​
  3. 01. Core Settings

01.3. Resolution

Set up Pixel Streaming in your own project - Core Settings

Previous01.2. Pixel Streaming Input / Json messagesNext01.4. Camera Aspect Ratio

Last updated 1 year ago

Start Resolution

To set the starting resolution of your application or to have a dynamically controlled resolution, you will need to add the following settings ​to your project.​ ​

  • Add these two resolution console commands to your project. (We recommend adding them to an ‘Execute Console Command’ blueprint node in the Event Graph of your ​Level Blueprint)

PixelStreaming.WebRTC.DisableResolutionChange 0​ 
r.setres 1920x1080w

Warning: The 'PixelStreaming.WebRTC.DisableResolutionChange 0' console command is only relevant for UE4 (in UE5.1 the resolution changes work automatically) Please be aware that UE5.03 doesn't support this resolution change as the command is missing (Epic are aware and fixed this feature in 5.1)

Note: The 'setres' console command is not necessary when streaming as Arcware Cloud forces FullHD anyway, but it can however be useful when you test the application on your local machine, to view it in the same resolution as it will be shown whilst streaming. Our recommended value for the resolution console command is 1920x1080w

Dynamic Resolution

The json descriptor input will be sent from the Web frontend to your Player Controller in Unreal Engine. Everytime the user resizes the web browser window a json descriptor will be sent to Unreal Engine with a new corresponding resolution command.

Here is an example of how the json descriptor will be written when its sent from the frontend to your Unreal Engine application... emitUIInteraction({ Console: 'r.setres 1920x1080w' })

If you have successfully completed the steps in... ... your Unreal Project should now be ready to receive the json descriptor input needed for dynamically changing the resolution via Console Commands.

'01.2. Pixel Streaming Input'
(Example of the console commands inside a 'Execute Console Command' Blueprint Node)