arrow-left

All pages
gitbookPowered by GitBook
1 of 1

Loading...

Supported Codecs

Supported codecs.

hashtag
On mobile OS

Actually, the following codecs are supported by flutter_sound:

iOS encoder

iOS decoder

Android encoder

This table will eventually be upgraded when more codecs will be added.

  • βœ… (*) : The codec is supported by Flutter Sound, but with a File Format Conversion. This has several drawbacks :

    • Needs FFmpeg. FFmpeg is not included in the LITE flavor of Flutter Sound

    • Can add some delay before Playing Back the file, or after stopping the recording. This delay can be substancial for very large records.

hashtag
On Web browsers

  • Webkit is bull shit : you cannot record anything with Safari, or even Firefox/Chrome on iOS.

  • Opus WEBM is a great Codec. It works on everything (mobile and Web Browsers), except Apple

  • Edge is same as Chrome

βœ… (1) : needs MinSDK >=23

Opus OGG

❌

βœ…

βœ…

βœ…

❌

❌

Opus CAF

❌

❌

❌

❌

❌

βœ…

MP3

❌

βœ…

❌

βœ…

❌

βœ…

Vorbis OGG

❌

βœ…

❌

βœ…

❌

❌

PCM16

❌

βœ…

❌

βœ…

❌

❌

(must be verified)

PCM Wave

❌

βœ…

❌

βœ…

❌

❌

PCM AIFF

❌

❌

❌

❌

❌

❌

PCM CAF

❌

❌

❌

❌

❌

βœ…

FLAC

❌

βœ…

❌

βœ…

❌

βœ…

AAC MP4

❌

βœ…

❌

βœ…

❌

βœ…

AMR NB

❌

❌

❌

❌

❌

❌

AMR WB

❌

❌

❌

❌

❌

❌

PCM8

❌

❌

❌

❌

❌

❌

PCM F32

❌

❌

❌

❌

❌

❌

PCM WEBM

❌

❌

❌

❌

❌

❌

Opus WEBM

βœ…

βœ…

βœ…

βœ…

❌

❌

Vorbis WEBM

❌

βœ…

❌

βœ…

❌

❌

Android decoder

AAC ADTS

βœ…

βœ…

βœ… (1)

βœ…

Opus OGG

βœ… (*)

βœ… (*)

❌

βœ… (1)

Opus CAF

βœ…

βœ…

❌

βœ… (*) (1)

MP3

❌

βœ…

❌

βœ…

Vorbis OGG

❌

❌

❌

βœ…

PCM16

βœ…

βœ…

βœ… (1)

βœ…

PCM Wave

βœ…

βœ…

βœ… (1)

βœ…

PCM AIFF

❌

βœ…

❌

βœ… (*)

PCM CAF

βœ…

βœ…

❌

βœ… (*)

FLAC

βœ…

βœ…

❌

βœ…

AAC MP4

βœ…

βœ…

βœ… (1)

βœ…

AMR NB

❌

❌

βœ… (1)

βœ…

AMR WB

❌

❌

βœ… (1)

βœ…

PCM8

❌

❌

❌

❌

PCM F32

❌

❌

❌

❌

PCM WEBM

❌

❌

❌

❌

Opus WEBM

❌

❌

βœ…

βœ…

Vorbis WEBM

❌

❌

❌

βœ…

Chrome encoder

Chrome decoder

Firefox encoder

Firefox decoder

Webkit encoder (safari)

Webkit decoder (Safari)

AAC ADTS

❌

βœ…

❌

βœ…

❌

βœ