dotnet / dotnet/maui

Ability to record audio into a stream

Open
#6,502 2 comments 9 reactions 0 assignees View on GitHub
area-essentials proposal/open
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 10h
Merged PRs (30d)
297

Description

### Description

This is a straight up copy from the Xamarin.Essentials Ticket where the Pull Request war done several years ago but never got reviewed after the initial stage. The implementation is completed for UWP, iOS and Android. https://github.com/xamarin/Essentials/pull/723

### Public API Changes

```csharp
public static class Recorder
{
public static Task CanRecordAudio => PlatformCanRecordAudio;

public static bool IsRecording { get; private set; }

public static async Task RecordAsync();

public static async Task StopAsync()
}

public class RecordedAudio : IDisposable
{
public Stream AsStream();
public string Filepath {get;}
}

### Intended Use-Case

Recording audio on smartphones and other devices is integral to various use cases.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.