-
Notifications
You must be signed in to change notification settings - Fork 113
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't tap on seek bar nor total duration is showing #19
Comments
Could you try making a call recording and upload it here? Only needs to be a few seconds and it can be silent, no need to talk. BCR uses Android's built-in FLAC encoder and I suspect the one included in your ROM is broken. It's not a frequently used part of Android and is kind of buggy even on AOSP and the Google Pixel stock ROM. |
File: Also, as u can see, no file name (just phone number: 160) in latest file (maked with latest 1.2 release). Maybe u can consider to use mp3 or wav (more and best supported)? |
File link: https://easyupload.io/g4z7ao I've uploaded it. Please check this. FYI: I'm using Poco F1 device with Pixel Experience Plus Android 12L ROM. It'd be better if you could provide other formats too like .mp3/.wav as flac is also taking more space than .mp3 recordings. |
Thanks for uploading the sample files. I'm able to reproduce the issue myself now. I didn't notice this before because I was playing the audio with VLC, which can automatically determine the audio duration when it is not specified in the file. I'll investigate a bit after work and see if I can figure out how to add the duration (total audio samples) to the FLAC metadata. Android's built-in |
MediaCodec's FLAC encoder does not write the final duration to the STREAMINFO metadata block. The streaming nature of the API makes that impossible. Instead, when the recording completes, BCR will find the STREAMINFO block and update the total frame count field manually. This fixes seeking in audio players that don't try to guess the length of the audio file. Fixes: #19 Signed-off-by: Andrew Gunnerson <[email protected]>
This is fixed in #20 and will be included in version 1.3. |
Thanks! I can confirm this issue has been fixed on the latest v1.3 of BCR👍 |
I'm on BCR v1.2 and can't tap on the seek bar(audio progress bar) in any media player while playing the recorded calls, due to this not able to tap on a timestamp to play recording at a desired time.
Also the total duration of audio is not showing in the player.
The text was updated successfully, but these errors were encountered: