Files
UnrealEngine/Engine/Plugins/Media/PixelStreaming/Source/PixelStreamingServers/Private/SignallingServerLegacy.h
2025-05-18 13:04:45 +08:00

25 lines
897 B
C++

// Copyright Epic Games, Inc. All Rights Reserved.
#pragma once
#include "SignallingServer.h"
namespace UE::PixelStreamingServers
{
/*
* A signalling server that matches the signalling protocol and features of the 4.26/4.27 Cirrus signalling server.
* While we don't want people to use this it is useful to keep around for tests to prevent breaking changes while
* those servers are still being used by some users.
*/
class FSignallingServerLegacy : public FSignallingServer
{
protected:
virtual void SendPlayerMessage(uint16 PlayerId, TSharedPtr<FJsonObject> JSONObj) override;
virtual void SendStreamerMessage(uint16 StreamerId, TSharedPtr<FJsonObject> JSONObj) override;
virtual void OnStreamerConnected(uint16 ConnectionId) override;
virtual void OnPlayerMessage(uint16 ConnectionId, TArrayView<uint8> Message) override;
};
} // namespace UE::PixelStreamingServers