Skip to main content

Streaming Behaviors

Video Stream

Class Reference

Displays a video stream from a given source on a texture. Reacts on VideoControl events (see also Configure and Play Stream), and emits VideoState events (see also Check Video State).

Common Properties

Property Name Type Description
TargetNode Candera::AbstractNodePointer The node on which the video will be displayed. If nothing is selected, the node on the anchor will be used.
VideoSource FeatStd::String URI to video resource (e.g. path to file or URL).
ScaleToVideoSource bool If enabled the texture will be resized to the video size, otherwise the size of the current texture will persist.
FlipVertically bool Flips video vertically.
Timestamp FeatStd::UInt32 Can be used to bind the timestamp of the video to an external timestamp data (e.g. a camera tracker that needs to be synchronized with the video).