element-hq / element-hq/element-web

voice message waveform preview and actual waveform mismatch

Open
#18,604 4 comments 2 reactions 0 assignees View on GitHub
A-Voice-Messages O-Occasional S-Minor T-Defect
Dominant language
TypeScript
Stars
13.5k
Forks
2.8k
PR merge metrics
PR metrics pending

Description

### Steps to reproduce

send a short voice msg, not actually recording anything, microphone muted in hardware

### What happened?

![image](https://user-images.githubusercontent.com/2803622/129794394-0db8a0e4-a5c0-426d-be89-49c9aba23321.png)

```
"org.matrix.msc1767.audio": {
"duration": 1792,
"waveform": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0
]
},
```

### What did you expect?

matching

### Operating system

arch

### Application version

Element Nightly version: 2021081701 Olm version: 3.2.3

### How did you install the app?

aur nightly-bin

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.