Files
UnrealEngine/Engine/Plugins/Media/PixelStreaming2/Source/PixelStreaming2Editor/Private/PixelStreaming2Commands.cpp
2025-05-18 13:04:45 +08:00

22 lines
1.6 KiB
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#include "PixelStreaming2Commands.h"
namespace UE::EditorPixelStreaming2
{
#define LOCTEXT_NAMESPACE "PixelStreaming2ToolBar"
void FPixelStreaming2Commands::RegisterCommands()
{
UI_COMMAND(ExternalSignalling, "Use Remote Signalling Server", "Check this option if you wish to use a remote Signalling Server", EUserInterfaceActionType::RadioButton, FInputChord());
UI_COMMAND(ServeHttps, "Serve over HTTPS", "Check this option to serve the frontend over HTTPS using the embedded Signalling Server", EUserInterfaceActionType::RadioButton, FInputChord());
UI_COMMAND(StartSignalling, "Launch Signalling Server", "Launch a Signalling Server that will listen for connections on the ports specified above", EUserInterfaceActionType::Button, FInputChord());
UI_COMMAND(StopSignalling, "Stop Signalling Server", "Stop Signalling Server", EUserInterfaceActionType::Button, FInputChord());
UI_COMMAND(StreamLevelEditor, "Stream Level Editor", "Stream the Level Editor viewport", EUserInterfaceActionType::Button, FInputChord());
UI_COMMAND(StreamEditor, "Stream Full Editor", "Stream the Full Editor", EUserInterfaceActionType::Button, FInputChord());
UI_COMMAND(VP8, "VP8", "VP8", EUserInterfaceActionType::RadioButton, FInputChord());
UI_COMMAND(VP9, "VP9", "VP9", EUserInterfaceActionType::RadioButton, FInputChord());
UI_COMMAND(H264, "H264", "H264", EUserInterfaceActionType::RadioButton, FInputChord());
UI_COMMAND(AV1, "AV1", "AV1 (Requires an Nvidia \"Ada Lovelace\" family GPU)", EUserInterfaceActionType::RadioButton, FInputChord());
}
#undef LOCTEXT_NAMESPACE
} // namespace UE::EditorPixelStreaming2