element-hq / element-hq/element-x-android

Voice message without waveform doesn't work as intended

Open
#2,419 0 comments 0 reactions 0 assignees View on GitHub
A-Voice-Messages O-Occasional S-Minor T-Defect
Dominant language
Kotlin
Stars
2.4k
Forks
624
Avg merge
1d 14h
Merged PRs (30d)
149

Description

### Steps to reproduce

Use newest version of meta bridge
Receive a voice message
The pointer doesn't move and user is not able to change position of playback too.
The event Source:
```json
{
"content": {
"body": "audio.mp3.ogg",
"file": {
"hashes": {
"sha256": "7petCMnwEXzHNv5znssNelKlneGpW0z9uX7t4FvGocg"
},
"iv": "kaYCr7ZctD0AAAAAAAAAAA",
"key": {
"alg": "A256CTR",
"ext": true,
"k": "Z6FlbdIij6rcLLJFc0dZODuBE3COIE-YOMO5-XJjSGw",
"key_ops": [
"encrypt",
"decrypt"
],
"kty": "oct"
},
"url": "mxc://XXX/zSekdasOsQYZFmjmDeaNTGcB",
"v": "v2"
},
"info": {
"duration": 5000,
"mimetype": "audio/ogg",
"size": 24130
},
"m.mentions": {},
"msgtype": "m.audio",
"org.matrix.msc1767.audio": {
"duration": 5000
},
"org.matrix.msc3245.voice": {}
},
"event_id": "$bt277QlOLofsQwBmWipWzfElrxYOr1h-8Ft74_ZbiDE",
"origin_server_ts": 1708428672000,
"room_id": "!XPbNhAlKFYbfNVbfir:XXX",
"sender": "@messenger_100052572662810:XXX",
"type": "m.room.message",
"unsigned": {}
}
```

### Outcome

#### What did you expect?
See it working like on element web
![image](https://github.com/element-hq/element-x-android/assets/48880229/6e4ac616-c146-4be8-b97a-776f89548dae)

#### What happened instead?
There is no waveform, or placeholder and skipping is impossible.
(Normal voice message, but no waveform and the green playing line stays at the left after pressing play)

### Your phone model

Pixel 7 and Galaxy Tab s9 FE

### Operating system version

Android 14

### Application version and app store

Element X V. 0.4.4

### Homeserver

matrixdotorg/synapse latest docker

### Will you send logs?

No

### Are you willing to provide a PR?

Yes

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.