SAFR Windows SDK
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Properties Events
RealNetworks.CameraKit.VideoView Class Reference

A video view displays the video frames from a capture session or video player on the screen. Note that the video view itself does not impose video timing. It immediately display a video frame when you set it on the view. The video timing is provided by the capture session or video player. More...

Inheritance diagram for RealNetworks.CameraKit.VideoView:

Public Member Functions

 VideoView ()
 Creates a new video view. More...
 
 VideoView (Accelerator accel)
 Creates a new video view and binds it to the given accelerator. More...
 

Static Public Attributes

static bool AccelerationEnabled = false
 Way to disable Accelerated Video Rendering. More...
 

Protected Member Functions

override Size MeasureOverride (Size availableSize)
 
override Size ArrangeOverride (Size finalSize)
 
override void OnRender (DrawingContext dc)
 

Properties

VideoFrame?????? VideoFrame [get, set]
 The current video frame. More...
 
bool DrawingEnabled [get, set]
 Enable / disable drawing of the video frame. More...
 

Detailed Description

A video view displays the video frames from a capture session or video player on the screen. Note that the video view itself does not impose video timing. It immediately display a video frame when you set it on the view. The video timing is provided by the capture session or video player.

Constructor & Destructor Documentation

◆ VideoView() [1/2]

RealNetworks.CameraKit.VideoView.VideoView ( )

Creates a new video view.

◆ VideoView() [2/2]

RealNetworks.CameraKit.VideoView.VideoView ( Accelerator  accel)

Creates a new video view and binds it to the given accelerator.

Member Function Documentation

◆ ArrangeOverride()

override Size RealNetworks.CameraKit.VideoView.ArrangeOverride ( Size  finalSize)
protected

◆ MeasureOverride()

override Size RealNetworks.CameraKit.VideoView.MeasureOverride ( Size  availableSize)
protected

◆ OnRender()

override void RealNetworks.CameraKit.VideoView.OnRender ( DrawingContext  dc)
protected

Member Data Documentation

◆ AccelerationEnabled

bool RealNetworks.CameraKit.VideoView.AccelerationEnabled = false
static

Way to disable Accelerated Video Rendering.

Property Documentation

◆ DrawingEnabled

bool RealNetworks.CameraKit.VideoView.DrawingEnabled
getset

Enable / disable drawing of the video frame.

◆ VideoFrame

VideoFrame?????? RealNetworks.CameraKit.VideoView.VideoFrame
getset

The current video frame.