Streaming Behaviors
Video Stream
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 |
|---|---|---|
| SourceType | SourceType::Enum | Specify if the video is part of the asset or an external source. |
| 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. |