# Streaming Behaviors

#### **Video Stream**

<small>[Class Reference](http://dev.doc.cgistudio.at/APILINK/class_cgi_studio_control_1_1_video_stream_behavior.html)</small>

Displays a video stream from a given source on a texture. Reacts on VideoControl events (see also <span style="color: rgb(230, 126, 35);">[Configure and Play Stream](https://doc316en.candera.eu/link/582#bkmrk-configure-and-play-s)</span>), and emits VideoState events (see also <span style="color: rgb(230, 126, 35);">[Check Video State](https://doc316en.candera.eu/link/597#bkmrk-check-video-state)</span>).

**Common Properties**

<div class="contents" id="bkmrk-property-name-type-d"><div class="contents"><div class="contents"><div class="textblock"><table class="doxtable" style="width: 100%;"><tbody><tr><th style="width: 17.6689%;">**Property Name**</th><th style="width: 26.5651%;">**Type**</th><th style="width: 55.7249%;">**Description**</th></tr><tr><td style="width: 17.6689%;">TargetNode</td><td style="width: 26.5651%;">[Candera::AbstractNodePointer](http://dev.doc.cgistudio.at/APILINK/class_candera_1_1_abstract_node_pointer.html "The class AbstractCameraPointer is an wrapper class to abstract 2D and 3D camera nodes.")</td><td style="width: 55.7249%;">The node on which the video will be displayed. If nothing is selected, the node on the anchor will be used.</td></tr><tr><td style="width: 17.6689%;">VideoSource</td><td style="width: 26.5651%;">[FeatStd::String](http://dev.doc.cgistudio.at/APILINK/class_feat_std_1_1_string.html)</td><td style="width: 55.7249%;">URI to video resource (e.g. path to file or URL).</td></tr><tr><td style="width: 17.6689%;">ScaleToVideoSource</td><td style="width: 26.5651%;">bool</td><td style="width: 55.7249%;">If enabled the texture will be resized to the video size, otherwise the size of the current texture will persist.</td></tr><tr><td style="width: 17.6689%;">FlipVertically</td><td style="width: 26.5651%;">bool</td><td style="width: 55.7249%;">Flips video vertically.</td></tr><tr><td style="width: 17.6689%;">Timestamp</td><td style="width: 26.5651%;">FeatStd::UInt32</td><td style="width: 55.7249%;"><span lang="EN-IN" style="font-size: 11.0pt; line-height: 115%;">Plays a video from a given source (file path or URL) on a texture or image, with the option to play it normally or flipped vertically.</span>

</td></tr></tbody></table>

</div></div></div></div>