How to use the LIV Camera Kit (LCK) recording subsystem in Unreal Engine, including setup, start/stop recording, async methods, photo capture, and preview mode.
ULCKRecorderSubsystem
The recorder subsystem manages the complete recording lifecycle as a UTickableWorldSubsystem. It handles scene capture, encoder coordination, and audio mixing each tick.
Class Definition
UCLASS()class LCKCORE_API ULCKRecorderSubsystem : public UTickableWorldSubsystem{ GENERATED_BODY()public: // Scene capture component for video source UPROPERTY(Category = "LCK", BlueprintReadOnly) USceneCaptureComponent2D* CaptureComponent; // Render target for capture UPROPERTY(Category = "LCK", BlueprintReadOnly) UTextureRenderTarget2D* RenderTarget;};
Setup Methods
function
Initializes the recorder with parameters and optional capture component.