Skip to content

unfug/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.

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

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE.md

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 37.1%
  • JavaScript 26.2%
  • HTML 17.9%
  • TypeScript 10.0%
  • CSS 8.8%