Has anybody had any luck with viewing a Pixel Stream from one UE4 application to another?
I’m following this doc: Interacting with the Pixel Streaming System | Unreal Engine Documentation at “Playing the Stream in the media Framework”
I’ve set up one UE4 application to use pixel streaming and that seems to work fine - I can view and control it from a browser.
But when I try to view the stream from within a separate UE4 application using a Stream Media Source and Media Player the application crashes.
Pixel Streaming plugin is enabled on both UE4 applications
- Download the Pixel Streaming Demo from Epic Games Launcher (or create own project and enable Pixel Streaming plugin)
- Package for Windows to generate executable
- Create shortcut to executable with parameters “-AudioMixer -PixelStreamingIP=localhost -PixelStreamingPort=8888”
- Run the Signalling Web Server in (UE Install Folder)\Engine\Source\Programs\PixelStreaming\WebServers\SignallingWebServer
- Run the game from the shortcut
- Check Pixel Stream is running by going to any web browser and entering “localhost”
Viewing the stream from UE4
- Create a new UE4 project and enable the Pixel Streaming plugin
- Add a new Stream Media Source and enter “webrtc://127.0.0.1:80” as the URL
- Add new Media Player with Media Texture
- Apply the media texture to an object in the scene (I’ve used a Plane)
- In the level blueprint, create a media player variable referencing the one created above and use it to call the Open Source function with the Stream Media Source selected on Event BeginPlay
- Package and run the application
- Application crashes