Table of Contents

Class VideoView

Namespace
VisioForge.Core.UI.MAUI
Assembly
VisioForge.Core.UI.MAUI.dll

Provides a high-performance video rendering control for .NET MAUI applications using SkiaSharp.

public class VideoView : VideoViewX, INotifyPropertyChanged, IVisualTreeElement, IEffectControlProvider, IToolTipElement, IContextFlyoutElement, IAnimatable, IViewController, IVisualElementController, IElementController, IGestureController, IGestureRecognizers, IPropertyMapperView, IHotReloadableView, IReplaceableView, IView, ITransform, IElement

Inheritance

Implements

Inherited Members

Remarks

This control renders video frames using SkiaSharp's hardware-accelerated canvas. On iOS, Android, Windows, and macCatalyst platforms, this class inherits from VisioForge.Core.UI.MAUI.VideoViewX which provides native platform-specific rendering. On other platforms, it uses SkiaSharp-based rendering with a frame cache system for optimal performance.

The control implements VisioForge.Core.Types.IVideoView for integration with VisioForge media engines and VisioForge.Core.Types.IVideoViewPushFrame for receiving video frames.

Key features:

  • Hardware-accelerated video rendering via SkiaSharp
  • Automatic aspect ratio preservation with letterboxing
  • Frame caching system for smooth playback
  • Status overlay support for connection progress indicators
  • Mouse/touch event handling for interactive controls
  • Background image support when video is not playing