Skip to main content

Streaming Behaviors

Contents List

    Video Stream

    Video Stream

    Class Reference

    Description

    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
    SourceTypeTargetNode SourceType:Candera::EnumAbstractNodePointer SpecifyThe ifnode on which the video will be displayed. If nothing is part ofselected, the assetnode oron anthe externalanchor source.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).
    TargetNode Candera::AbstractNodePointer The node on which the video will be displayed. If nothing is selected, the node on the anchor will be used.

    Back to the menu