follow the official document to deploy a Pixel streaming application
start the application with all the necessary param (including -AllowPixelStreamingCommands )
modify the app.js in the signalingwebServer to add the following codes in "kickbutton.onclick" event for test:
let descriptor =
{ ConsoleCommand: 'stat fps' };
emitCommand(descriptor);
then click the "kick button" when you succeeded connecting to the app in your browser.
expected: the running app show fps info in the viewport, but actually it doesn't. In its log it says
Warning: failed to run command = {"ConsoleCommand": "stat fps"}
Debug: after reading the source codes it looks like there is a typo error in \Engine\Plugins\Media\PixelStreaming\Source\PixelStreaming\Private\PixelStreamerInputComponent.cpp line23
UPixelStreamerInputComponent::OnCommand(const FString& Descriptor)
{
FString ConsoleCommand; bool bSuccess = false;
GetJsonStringValue(Descriptor, TEXT("ConsoleCommand"), ConsoleCommand, bSuccess);
if (!bSuccess) // looks like here should have NO "!"
{ return GEngine->Exec(GetWorld(), *ConsoleCommand); }...
it is also reported by UDN
NOTE: It can be workaround by users to define some customized UIInteraction.
I am not able to find world outliner how to enable it?
Undefined sysmbol: typeinfo for AActor when cross-compile linux dedicated server on windows
How can i modify the param name in EQS node
When I open UE4 4.24.3 it appears that. Does anyone know how to solve?
Hey, why do i get this when i snap two similar meshes together?
Delay nodes occasionally don't fire the "Completed" output in a nativized build
Teleporter in the Creative Hub is Locked and cannot be accessed
How to achieve HLSL Multiple Render Target in Material blueprints?
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-104359 in the post.
7 |
Component | PixelStreaming |
---|---|
Affects Versions | 4.24, 4.25, 4.26 |
Target Fix | 4.27 |
Created | Dec 10, 2020 |
---|---|
Resolved | May 31, 2021 |
Updated | May 31, 2021 |