-
Notifications
You must be signed in to change notification settings - Fork 282
Closed
Description
Package version 6.0.0
Environment
- OS: Android
- Browser [e.g. chrome, safari] if issue is on web platform.
Describe the bug
Broken headers on big wav files.
Add your record configuration RecordConfig(...)
const RecordConfig(
encoder: AudioEncoder.wav,
sampleRate: 44100,
numChannels: 1,
bitRate: 192000,
),
To Reproduce
Steps to reproduce the behavior:
- Start recording with config given above in a file
- Wait more than 7 hours
- Stop the recording and save it.
- File would have proper size, but in headers it would have 0 length. When you try to play it, you'll get 00:00:00 duration.
Expected behavior
File have proper duration.
Additional context
For files less than 2GB (<6,5 hours) everything is fine.
Also after using comand-line tool as sox like this
sox --ignore-length super_long_record_1760312595150.wav fixed_super_long_record_1760312595150.wav
fixed_super_long_record_1760312595150.wav is playable and contain all data which I record before.
Metadata
Metadata
Assignees
Labels
No labels