Hello Unreal community,
I’m trying to find a way to start and stop Pixel Streaming programmatically in my project, using either Python, C++, or console commands. I’m using Unreal Engine [Your specific version number].
I’ve enabled the Pixel Streaming plugin in my project, but I’m struggling to control it from code. Here’s what I’ve tried so far:
- Tried to access
unreal.PixelStreamingStreamerComponent
using both Python and C++, but couldn’t find a way to do it. - Enabled
-AllowPixelStreamingCommands
and attempted to use console commands ‘startStreaming’ and ‘stopStreaming’, but these don’t work.
I’m looking for a way to start and stop streaming without using the editor toolbar.
Could someone please provide the current, correct way to:
- Start Pixel Streaming programmatically
- Stop Pixel Streaming programmatically
- Switch Between Level Editor and Full Editor
If possible, I’d appreciate examples in Python, C++, or even correct console commands if that’s the best approach.
Thank you in advance for any help or guidance!