GithubHelp home page GithubHelp logo

loonix / another_audio_recorder Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rmbrone/flutter_audio_recorder

5.0 5.0 8.0 7.66 MB

(Null-Safe + V2) Audio Record Plugin that supports record, pause, resume, stop, and provide access to audio level metering properties average power peak power.

Home Page: https://pub.dev/packages/another_audio_recorder

License: MIT License

Java 52.74% Ruby 4.51% Swift 14.24% Objective-C 0.69% Dart 26.31% Shell 1.51%
audio flutter null-safety plugin recorder

another_audio_recorder's Introduction

Hi there ๐Ÿ‘‹, I'm Daniel Carneiro.

I'm from OPorto, Portugal, and currently a Front End Developer @ CADS UK.

ko-fi

GitHub stats

[Top Langs]

Profile views

another_audio_recorder's People

Contributors

emmggi avatar loonix avatar mselmanyildirim avatar nikli2009 avatar towerjoo avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

another_audio_recorder's Issues

crash when use aac format

D/AudioRecord(19201): mAudioRecord->stop()
E/AndroidRuntime(19201): FATAL EXCEPTION: Audio Processing Thread
E/AndroidRuntime(19201): Process: com.alone.host, PID: 19201
E/AndroidRuntime(19201): java.lang.IllegalStateException
E/AndroidRuntime(19201): at android.media.MediaCodec.releaseOutputBuffer(Native Method)
E/AndroidRuntime(19201): at android.media.MediaCodec.releaseOutputBuffer(MediaCodec.java:2871)
E/AndroidRuntime(19201): at com.loonix.another_audio_recorder.AACRecordThread.handleCodecOutput(AACRecordThread.java:226)
E/AndroidRuntime(19201): at com.loonix.another_audio_recorder.AACRecordThread.run(AACRecordThread.java:150)
E/AndroidRuntime(19201): at java.lang.Thread.run(Thread.java:919)
I/Process (19201): Sending signal. PID: 19201 SIG: 9
Lost connection to device.

wav header error

E/ExoPlayerImplInternal(12865): Source error
E/ExoPlayerImplInternal(12865): com.google.android.exoplayer2.ParserException: Expected block size: 2; got: 1
E/ExoPlayerImplInternal(12865): at com.google.android.exoplayer2.extractor.wav.WavExtractor$PassthroughOutputWriter.(WavExtractor.java:222)
E/ExoPlayerImplInternal(12865): at com.google.android.exoplayer2.extractor.wav.WavExtractor.read(WavExtractor.java:122)
E/ExoPlayerImplInternal(12865): at com.google.android.exoplayer2.source.ProgressiveMediaPeriod$ExtractingLoadable.load(ProgressiveMediaPeriod.java:982)
E/ExoPlayerImplInternal(12865): at com.google.android.exoplayer2.upstream.Loader$LoadTask.run(Loader.java:391)
E/ExoPlayerImplInternal(12865): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
E/ExoPlayerImplInternal(12865): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
E/ExoPlayerImplInternal(12865): at java.lang.Thread.run(Thread.java:764)

Call not recording

another_audio_recorder: ^1.0.1

When I record a phone call I can't hear the conversation between the users in that audio file

Android
version: 11

if use the another_audio_recorder package in the usual way( without recording a call) it works fine I can hear the recorded content in the audio file when I try to record a call during that time of the call I can't hear anything in the recorded file but the recording process Is Working

Code of recording function
_start() async {
print("recording");
try {
await _recorder?.start();
var recording = await _recorder?.current(channel: 0);
setState(() {
});

  const tick = Duration(milliseconds: 50);
  Timer.periodic(tick, (Timer t) async {
    if (recording!.status == RecordingStatus.Stopped) {
      t.cancel();
    }

    var current = await _recorder?.current(channel: 0);
    // print(current.status);
    setState(() {
    });
  });
} catch (e) {
  print(e);
}

}

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.