element-hq / element-android

A Matrix collaboration client for Android.
https://element.io/
Apache License 2.0
3.26k stars 676 forks source link

Voice recording yields corrupt Ogg files #8811

Open madduck opened 2 months ago

madduck commented 2 months ago

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

jasondaigo commented 1 week ago

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

madduck commented 1 week ago

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?