Files
Brandyn / Techy fcc1b09210 init
2026-04-04 15:40:51 -05:00

27 lines
584 B
C++

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