record_android
Android specific implementation for record package called by record_platform_interface.
2.1.2
844K downloads/mo
#394 most downloaded on pub.dev
llfbandit/record
What this package is like to depend on
Last release 2 months ago
22 Jun 2026
Release timing varies
gaps range from 2 weeks to 3 months
Nearly every release is documented
notes for 30 of 30 stable releases
1 version withdrawn
withdrawn after publishing
3 years old
34 releases · first in 2023
12 releases in the last 12 months
see the full history below
Release timeline
34 releases · Jun 2023 to Jun 2026
2024
2025
2026
Releases
latest 34-
2.1.222 Jun 2026Release notes
Open source →- fix: Throw for unsupported stream encoders.
- fix: Flac regression from CSD changes.
- fix: Improve consistency of device/codec caps adjustment flow.
-
2.1.113 Jun 2026 -
2.1.010 Jun 2026Release notes
Open source →- feat: Improve InputDevice description with sample rates and type.
- fix: csd-0 ignored resulting in unreadable file on iOS.
- fix: codec/device caps and surface
onConfigChangedto dart side. - fix: Bluetooth SCO connection before audio recording.
- fix: Prevents potential double pause event.
- fix: Potential two stop events fired.
- fix: Prevents potential NPE.
- fix: Potential file descriptor leak.
- fix: onOutputFormatChanged has no guard against being called more than once.
- fix: Wait the end of the recording before deleting the file on
cancelcall. - fix: Potentially no result when starting recorder without stopping first.
- fix: Useless check of codec.
- fix: Silent frames now return -160.0 instead of -Infinity.
- fix: Cancelled recordings may leave partial files on disk.
- fix: Encoding may not be stopped if PCM reader fails to stop.
- fix: Wrong channel count adjustment.
- fix: Race condition. BUFFER_FLAG_END_OF_STREAM never queued if last encode() runs before mStoppedCompleter is assigned.
- fix: Reshape project with better separation of concerns.
-
2.0.127 May 2026 -
2.0.026 May 2026 withdrawnRelease notes
Open source →- chore: Breaking change Remove background recording service.
- chore: Updates minimum supported SDK version to Flutter 3.44/Dart 3.12.
- chore: Move to AGP 9.x.
- chore: Move to Kotlin Gradle DSL.
-
1.5.222 May 2026Release notes
Open source →- fix: Potential
IndexOutOfBoundsExceptionfor AAC ADTS streaming. - chore: Many code improvements and cleanups.
- chore: Deprecate background Android service.
- fix: Potential
-
1.5.113 Feb 2026 -
1.5.030 Jan 2026Release notes
Open source →- feat: Add
requestparameter tohasPermission()method to check permission status without requesting. - fix:
AudioInterruptionModenot pausing.
- feat: Add
-
1.4.520 Nov 2025 -
1.4.419 Oct 2025Release notes
Open source →- fix: crash when notify a notification with a background service on devices below Android 8.0.
- fix: Update build config.
-
1.4.301 Oct 2025 -
1.4.211 Sep 2025 -
1.4.121 Aug 2025Release notes
Open source →- fix: Calling stop never ends when not recording.
- fix: Update max amplitude when streaming.
- fix: AudioRecord calls the wrong method to read shorts.
-
1.4.015 Aug 2025Release notes
Open source →- feat: Add AudioInterruptionMode to
RecordConfig. - feat: Add stream buffer size option.
- feat: Allow background recording.
- fix: malformed AAC on Android.
- feat: Add AudioInterruptionMode to
-
1.3.316 May 2025 -
1.3.214 May 2025Release notes
Open source →- fix: Pause state accuracy.
- fix: AAC ADTS streaming.
- feat: Add
audioManagerModeandspeakerphoneoptions to mitigate echo cancellation issues with specific devices. (Thanks to @keyur2maru for the original PR)
-
1.3.120 Feb 2025Release notes
Open source →- fix: Stop does not complete when called immediately after startStream.
- fix: No static method
addLast.
-
1.3.002 Nov 2024Release notes
Open source →- feat: Add audio source config.
- feat: Add manageBluetooth (SCO) option.
- fix: Audio source is now AndroidAudioSource.defaultSource (without any effect pre-processor in theory).
- fix: Recording not working when starting from an Android ForegroundService.
- fix: MPEG4 container is not returned when requesting AudioEncoder.opus for MediaRecorder (legacy).
- fix: Race condition when calling stop.
- chore: Add debug log when effect is not available while requested.
-
1.2.627 Aug 2024Release notes
Open source →- fix: Improve amplitude computation.
- fix: java.lang.IllegalStateException: Failed to stop the muxer.
- fix: Exception raised on bluetooth receiver unregistration.
- chore: Upgrade to latest AGP.
-
1.2.509 Aug 2024Release notes
Open source →- fix: Applying effects.
- fix: Race condition leading to exception when releasing codec & muxer.
-
1.2.402 Jul 2024 -
1.2.325 Jun 2024Release notes
Open source →- fix: Revert AGP v8 setup to latest v7.
- fix: Don't start bluetooth SCO when asking for another device type.
-
1.2.230 May 2024Release notes
Open source →- fix: Threading issues. Model is now more robust and overall performance is much better.
- fix: Recording on older Android devices ..., 8, 9.
- fix: Recording on slow devices (e.g. writing on external SD cards, ...).
- fix: Audio duration detection should be less a problem now.
- chore: minSDK is now 23 (Android 6), targetSDK is now 34.
- chore: code cleanup and adjustment from new minSDK.
-
1.2.123 May 2024 -
1.2.021 May 2024Release notes
Open source →- feat: Re-introduced native MediaRecorder. Set
RecordConfig.androidConfig.useLegacytotrue. This comes with limitations compared to advanced recorder. - feat: Advanced AudioRecorder will try to adjust given configuration if unsupported or out of range (sample rate, bitrate and channel count).
- Those two features should help for older devices, bad vendor implementations or misusage of configuration values.
- feat: ability to mute all audio streams when recording. The settings are restored when the recording is stopped.
- Notice: streams will stay at current state on pause/resume.
- feat: Re-introduced native MediaRecorder. Set
-
1.1.024 Mar 2024Release notes
Open source →- fix: Properly close container when recording is stopped.
- fix: num channels & sample rate are not applied in AAC format.
- feat: Add device listing/selection (selection is not guaranteed but preferred only...).
- feat: Add bluetooth SCO auto linking (i.e. for telephony device like headset/earbuds).
- Recording quality is limited.
- You must add "MODIFY_AUDIO_SETTINGS" permission to allow recording from those devices. See README.md.
-
1.0.414 Dec 2023 -
1.0.329 Oct 2023Release notes
Open source →- fix: Stop method returns before recording being actually finished.
- fix: Changing config is not taken into account when reusing same instance.
-
1.0.215 Oct 2023Release notes
Open source →- chore: Allow AGP 8 and beyond while being backward compatible with older AGP versions.
-
1.0.115 Oct 2023Release notes
Open source →- chore: Allow AGP 8 and beyond while being backward compatible with older AGP versions.
-
1.0.014 Oct 2023 -
1.0.0-beta.227 Jun 2023 pre-release -
1.0.0-beta.105 Jun 2023 pre-release -
1.0.0-beta.1+106 Jun 2023 pre-releaseRelease notes
Open source →- fix: PassthroughEncoder does not check if the container is configured with stream behaviour.