flutter_record_mp3
flutter record mp3 using the native api
View on GitHub ↗Archived
- Stars
- 35
- Forks
- 42
- Last push (UTC)
- May 6, 2024
- Project status
- Archived
Original README
English project snapshot. Visit GitHub for the latest content.
Record Mp3
Record an MP3 using the platform native API
Depend on it
Add this to your package's pubspec.yaml file:
Flutter <= 1.19.x
dependencies:
record_mp3: ^1.0.1
Flutter >=1.12.x <2.0.0
dependencies:
record_mp3: ^2.1.0
Flutter >=2.0.0 nullsafety
dependencies:
record_mp3:
git:
url:git://github.com/fluttercandies/flutter_record_mp3
dependencies:
record_mp3: ^3.0.0
Usage
iOS
Make sure you add the following key to Info.plist for iOS
<key>NSMicrophoneUsageDescription</key>
<string>xxxxxx</string>
Example
import 'package:record_mp3/record_mp3.dart';
//start record
RecordMp3.instance.start(recordFilePath, (type) {
// record fail callback
});
//pause record
RecordMp3.instance.pause();
//resume record
RecordMp3.instance.resume();
//complete record and export a record file
RecordMp3.instance.stop();
LanguagesDartRuby
Categories
Dependencies used
Dependency list 2 items
- flutter
{"sdk":"flutter"} - flutter_testDevelopment
{"sdk":"flutter"}
How do I choose a repository?
Start with your use case, compare repository activity, and check the original project before adopting it.
- Search by repository name, owner or description, then narrow the results by topic.
- Compare stars, forks and recent pushes. Stars show community interest, not a guarantee of quality.
- Read the README, license and issues on GitHub before using a project.
Sources and maintenance
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗