Skip to content

Audio support #47105

@suragch

Description

@suragch

There needs to be a standard way to play and record audio in Flutter apps. Not being able to do that is a show stopper for many types of apps.

Background

I've read a number of related issues regarding this:

However, these are more specific than what I am requesting here. The following article has good background on the situation of third party plugins:

Here are a number of current plugins, each with their own limitations:

Proposal

I'd like to see an official Flutter plugin that includes the following functionality:

  • Play local audio from device
  • Play local audio from Flutter asset bundle
  • Stream remote audio
  • Play audio in the foreground or background
  • Record audio on device
  • Support for Android
  • Support for iOS
  • Support for Web
  • Support for MacOS
  • Support for Windows
  • Support for Linux

The plugin should not have any specific skin or widget. Rather, the audio functionality could be incorporated into developers' own widget designs or third-party widget plugins.

Native platforms (Android, iOS, Web, Desktop) already have options for handling audio. Flutter can't be the best way to develop for these platforms unless it can also handle audio.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityc: proposalA detailed proposal for a change to Fluttercustomer: crowdAffects or could affect many people, though not necessarily a specific customer.frameworkflutter/packages/flutter repository. See also f: labels.packageflutter/packages repository. See also p: labels.would be a good packageSeparate Flutter package should be made for thiswould require significant investmentA PR would not be accepted without a plan for ongoing support

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions