element-android icon indicating copy to clipboard operation
element-android copied to clipboard

Voice recording yields corrupt Ogg files

Open madduck opened this issue 1 year ago • 5 comments

Steps to reproduce

  1. Record a voice message
  2. Either keep the button "pressed", or slide up to lock
  3. Finish the recording
  4. Download file and verify e.g. with VLC

Outcome

What did you expect?

A valid Ogg file containing my recording

What happened instead?

More often than not, a corrupt Ogg file is generated.

In case it's relevant: SchildiChat exposes the exact same problem

Your phone model

Pixel 7 Pro

Operating system version

Android 14 (GrapheneOS)

Application version and app store

1.6.14 [40106142] (G-310cecf5)

Homeserver

1.104.0

Will you send logs?

Yes

Are you willing to provide a PR?

No

madduck avatar Apr 26 '24 08:04 madduck

I have this on pixel 8 as well. It seems like the button animation is broken or something. At least it looks like there is very little room for the finger touch action. If you use the thumb it fails often. But if you are very careful and use index finger it works quite often as walkie talkie style. Of course you can also swipe up and lock the record but I don't like it that much . 1.6.16

jasondaigo avatar Jun 23 '24 13:06 jasondaigo

I have this on pixel 8 as well. It seems like the button animation is broken or something. At least it looks like there is very little room for the finger touch action. If you use the thumb it fails often. But if you are very careful and use index finger it works quite often as walkie talkie style. Of course you can also swipe up and lock the record but I don't like it that much . 1.6.16

how is this related?

madduck avatar Jun 23 '24 17:06 madduck

how is this related?

Because most of the time this happens when you accidently move your finger after holding for a while. I can reproduce this when moving my finger to the right edge of the screen. Timer is counting up, microphone icon is highlighted even if I remove my finger from the screen and the file is corrupted when I click on send. I think the recording is killed the moment you hit the edge of the screen. The resulting voice message (in my example) is shown as 9 seconds long but its a corrupted file. (i.e. the two recordings with 00:07 and 00:05 seconds at the bottom)

1000084242

djagoo avatar Sep 16 '24 15:09 djagoo

I cannot reproduce this at all.

madduck avatar Sep 16 '24 19:09 madduck