Navigation
API > API/Plugins > API/Plugins/PixelStreamingInput > API/Plugins/PixelStreamingInput/IPixelStreamingInputHandler
References
| Module | PixelStreamingInput |
| Header | /Engine/Plugins/Media/PixelStreaming/Source/PixelStreamingInput/Public/IPixelStreamingInputHandler.h |
| Include | #include "IPixelStreamingInputHandler.h" |
void SetCommandHandler
&40;
const FString & CommandName,
const TFunction< void(FString, FString)> & Handler
&41;
Remarks
Register a custom function to execute when command JSON is received over the data channel: "{ type: "Command", YourCommand: YourCommandValue }". Note: You can also override the default Pixel Streaming command handlers by setting handlers with the same name as those already used, e.g. "Stat.FPS".