Skip to content

BenWhite27/BlazorMedia

 
 

Repository files navigation

Build Status Nuget

BlazorMedia

Open Source Media Capture API and Components for Blazor

A Blazor Library for Interacting with Browser Media Streaming APIs

This Library allows you to record your browsers Camera / Screen Sharing Data and save it to a file or live stream it to a remote server.

Architecture

How to use

Command Line

dotnet add package BlazorMedia

In your Component

@using BlazorMedia
<VideoMedia OnDataReceived="OnDataReceived" Timeslice="100" Width="640" Height="480" RecordAudio="true"></VideoMedia>

Code Behind

protected void OnDataReceived(byte[] data)
{
    Console.WriteLine($"Data Recieved of length: {data.Length}");
}

About

Blazor Library for Interacting with Browser Media Streaming APIs

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 32.6%
  • JavaScript 25.9%
  • HTML 18.7%
  • TypeScript 13.9%
  • CSS 8.9%