01.3. Resolution
Set up Pixel Streaming in your own project - Core Settings
Last updated
Set up Pixel Streaming in your own project - Core Settings
Last updated
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)
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)
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.
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.