element-hq / element-hq/element-android

Voice recording yields corrupt Ogg files

Open
#8,811 5 comments 1 reaction 0 assignees View on GitHub
T-Defect
Dominant language
Kotlin
Stars
3.7k
Forks
917
PR merge metrics
No merged PRs in 30d

Description

### 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](https://github.com/element-hq/element-android/files/15127287/corrupt_voice_ogg.zip) 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.