Closed douweier closed 3 months ago
Could you provide what output is it? Are you using an emulator?
I did not use it on the emulator. I debug it on Android 14 (34), Android 13 (33), and Android 10 (29). I have found on these phones that even after stop recording, the console still outputs and writes information,
The output is as follows:
D/MPEG4Writer(18575): + mBufferedDataSize(16371), chunk->mDataSize(16371) D/MPEG4Writer(18575): - mBufferedDataSize(0), chunk->mDataSize(16371)
I see same/similar issue. Below function does not return an exception at times if start and stop are pressed very quickly and the recorder keep on running and the await is never finished.
final path = await state.audioRecorder.stop();
I don't know if it is related, but i have a similar problem on linux, when i start the recording and stop, the file continue to grow after the stop, in fact if i send the file through http is says:
HttpException: Content size exceeds specified contentLength. 671800 bytes written while expected 655529.
Package version 5.1.2
Environment
Describe the bug On the Android end, the recording function is normal, but after calling stop to end the recording, the console still keeps outputting the following continuously
A clear and concise description of what the bug is.
Add your record configuration
RecordConfig(...)
await _record.start( const RecordConfig(), path: path ); _record.stop()To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.