Sample Applications
The VASTreaming SDK includes sample applications for multiple platforms demonstrating streaming, capture, playback, and server functionality. These applications serve as reference implementations and starting points for your own projects.
Server Applications
Demo.Server.NET
Console-based streaming server demonstrating multi-protocol support. For detailed documentation, see .NET Server Demo.
| Property | Value |
|---|---|
| Platform | Windows, Linux, macOS |
| Framework | .NET 6.0+ |
Key Features:
- Multi-protocol server implementation
- RTSP server implementation
- RTMP server implementation
- WebRTC signaling server
- File reader and writer samples
- ISO/MP4 fragment writer
Demo.Server.NET4
Legacy .NET Framework version of the streaming server for backward compatibility. For detailed documentation, see .NET Server Demo.
| Property | Value |
|---|---|
| Platform | Windows |
| Framework | .NET Framework 4.5.2 |
Key Features:
- Same functionality as Demo.Server.NET
- Compatible with .NET Framework 4.5.2+ environments
Demo.Server.ASPNETCore
Web-based streaming server with REST API using ASP.NET Core. For detailed documentation, see ASP.NET Core Razor Server Demo.
| Property | Value |
|---|---|
| Platform | Windows, Linux, macOS |
| Framework | .NET 8.0+ |
Key Features:
- REST API for server control
- Razor Pages web interface
- WebTransport and HTTP/3 support (.NET 9.0 or newer)
- Multi-protocol streaming (RTSP, RTMP, WebRTC)
- Performance monitoring
Demo.Server.Blazor
Interactive web-based streaming server using Blazor. For detailed documentation, see ASP.NET Core Blazor Server Demo.
| Property | Value |
|---|---|
| Platform | Windows, Linux, macOS |
| Framework | .NET 8.0+ |
Key Features:
- Blazor component-based UI
- REST API controllers
- Real-time UI updates
- Same streaming protocols as ASP.NET Core version
Cross-Platform Applications
Demo.Streaming.MAUI
Cross-platform application for Android, iOS, macOS, and Windows using .NET MAUI. For detailed documentation, see MAUI App Demo.
| Property | Value |
|---|---|
| Platform | Android, iOS, macOS, Windows |
| Framework | .NET 8.0+ |
Key Features:
- Multi-platform from single codebase
- Extended capture page
- WebRTC playback and two-way communication
- Platform-specific native libraries
- Touch gesture support
.NET Desktop Applications
Demo.Streaming.WPF
Windows Presentation Foundation desktop application demonstrating video capture, playback, and two-way communication. For detailed documentation, see WPF App Demo.
| Property | Value |
|---|---|
| Platform | Windows (WPF) |
| Framework | .NET 6.0+ |
Key Features:
- Simple and extended capture windows
- Simple and extended player windows
- WebRTC two-way communication
- Location picker for streaming sources
- XAML-based UI with data binding
Demo.Streaming.WinForms
Windows Forms desktop application demonstrating video capture, playback, and ONVIF camera control. For detailed documentation, see WinForms App Demo.
| Property | Value |
|---|---|
| Platform | Windows (WinForms) |
| Framework | .NET 6.0+ |
Key Features:
- Multiple capture and playback forms
- ONVIF camera discovery and control
- Settings management
- WebRTC support
- Video mixing and compositing
Demo.Streaming.WinUI
Modern Windows application using Windows App SDK (WinUI 3). For detailed documentation, see WinUI 3 App Demo.
| Property | Value |
|---|---|
| Platform | Windows 10/11 (WinUI 3) |
| Framework | .NET 8.0+ |
Key Features:
- Modern Windows design
- Single-project MSIX packaging
- x86, x64, and ARM64 support
- Streaming capture and playback
Getting Started
- Choose a sample that matches your target platform and use case
- Open the solution in Visual Studio
- Build and run the application
- Explore the code to understand implementation patterns
- Modify and extend for your own requirements
Platform Summary
| Platform | Applications |
|---|---|
| Windows Desktop | WPF, WinForms, WinUI |
| Cross-Platform | MAUI |
| Web/Server | ASP.NET Core, Blazor |
| Console | Demo.Server.NET, Demo.Server.NET4 |
See Also
- Supported Platforms - Platform compatibility matrix
- VAST.UI Libraries - UI controls documentation
- VAST.Network Library - Streaming server implementation
- VAST.WebRTC Library - WebRTC support