GkbApps.Blazor.MediaRecorder 1.0.0-alpha

This is a prerelease version of GkbApps.Blazor.MediaRecorder.
There is a newer version of this package available.
See the version list below for details.
dotnet add package GkbApps.Blazor.MediaRecorder --version 1.0.0-alpha
NuGet\Install-Package GkbApps.Blazor.MediaRecorder -Version 1.0.0-alpha
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="GkbApps.Blazor.MediaRecorder" Version="1.0.0-alpha" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GkbApps.Blazor.MediaRecorder --version 1.0.0-alpha
#r "nuget: GkbApps.Blazor.MediaRecorder, 1.0.0-alpha"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install GkbApps.Blazor.MediaRecorder as a Cake Addin
#addin nuget:?package=GkbApps.Blazor.MediaRecorder&version=1.0.0-alpha&prerelease

// Install GkbApps.Blazor.MediaRecorder as a Cake Tool
#tool nuget:?package=GkbApps.Blazor.MediaRecorder&version=1.0.0-alpha&prerelease

Blazor Media Recorder

A Razor component that lets us record screen, camera, and mic audio.

Installation

install-package GkbApps.Blazor.MediaRecorder

Include the namespaces in _Imports.razor

@using GkbApps.Blazor.MediaRecorder.Enums

Usage

Apply a render mode to a component definition

At the top of the page/component where you are using BlazorMediaRecorder, specify the render mode

For Interactive Server mode, the page/component must be in the Server project.
@rendermode InteractiveServer
For Interactive WebAssembly mode, the page/component must be in the Client project.
@rendermode InteractiveWebAssembly
For Interactive Auto mode, the page/component must be in the Client project.
@rendermode InteractiveAuto

Alternatively, apply a render mode to a component instance

To do that, create a wrapper component and put the BlazorMediaRecorder component inside it. Then, apply the render mode to the wrapper component instance.

  <BlazorMediaRecorderWrapper @rendermode="InteractiveServer">
    </BlazorMediaRecorderWrapper>

Record media

To record screen only
  <BlazorMediaRecorder Options="RecorderOptions.Screen">
    </BlazorMediaRecorder>
To record screen and mic audio
  <BlazorMediaRecorder Options="RecorderOptions.ScreenAndMicAudio">
    </BlazorMediaRecorder>
To record camera only
  <BlazorMediaRecorder Options="RecorderOptions.Camera">
    </BlazorMediaRecorder>
To record camera and mic audio
  <BlazorMediaRecorder Options="RecorderOptions.CameraAndMicAudio">
    </BlazorMediaRecorder>
To record mic audio only
  <BlazorMediaRecorder Options="RecorderOptions.MicAudio">
    </BlazorMediaRecorder>
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 191 12/14/2023
1.0.0 141 11/15/2023
1.0.0-alpha 86 11/15/2023