Up until UE 4.26, the Pixel Streaming video resolution was determined by the video resolution of the game, and could be changed easily during runtime by using setres or r.SetRes in the console.
However, since 4.27, this doesn’t seem possible anymore. The video resolution is the same as the game resolution at startup, but it’s not possible to change it using the console commands anymore.
I’ve also tried with using PixelStreaming.Capturer.CaptureSize and PixelStreaming.Capturer.UseBackBufferSize, but doesn’t seem to have any impact.
How is it possible to change the video resolution during runtime now?
Hi, could you share the details how and when to input the commands. I tried to do that according your steps after the application start, and also tried to use ConsoleVariables.ini to make sure the engine use the commands while startup.But all of them have no effects.
Ah crap, I had no idea people were writing on this thread (didn’t get any notifications).
I’m not using the default reference implementation for Pixel Streaming, so the way I did it was basically just sending my own messages to the UE instance, which ran the mentioned console commands one by one. I run the first two on startup, and whenever I’m changing resolution I run the last two (I just run them by using Execute Console Command in blueprints).