// Copyright Epic Games, Inc. All Rights Reserved. #pragma once #include "VideoCapturer.h" #include "epic_rtc/core/video/video_buffer.h" namespace UE::PixelStreaming2 { class PIXELSTREAMING2RTC_API FEpicRtcVideoCapturer : public FVideoCapturer { public: static TSharedPtr Create(TSharedPtr VideoProducer = nullptr, bool bIsSRGB = false); virtual ~FEpicRtcVideoCapturer() = default; TRefCountPtr GetFrameBuffer(); private: FEpicRtcVideoCapturer(TSharedPtr VideoProducer, bool bIsSRGB); }; } // namespace UE::PixelStreaming2