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.
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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#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
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
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 | Versions 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.
-
net8.0
- Microsoft.AspNetCore.Components.Web (>= 8.0.0)
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.0 | 1,778 | 11/15/2023 |
1.0.0-alpha | 114 | 11/15/2023 |