- Declaration
static FCavrnusBinding BindUserVideoFrames(FCavrnusSpaceConnection SpaceConnection, FCavrnusUser& User, FCavrnusUserVideoFrameEvent OnVideoFrameUpdate);
Delegates Types:
DECLARE_DYNAMIC_DELEGATE_OneParam(FCavrnusUserVideoFrameEvent, UTexture2D*, UserVideoFrame);
- Description
Triggers an event for every new frame of a user’s video stream. Note that this frame will sometimes be null if there is no stream.
The provided type is TextureWithUVs
. This is important because different stream sources sometimes provide odd UVRects. For performance reasons we don’t attempt to flip/correct the Textures themselves but instead we provide you with the UVs to flip the top-level UI when necessary. See the sample below for more details.
- Blueprint Sample
- Code Sample
TODO: WRITE