Vendicated / Vencord

The cutest Discord client mod
https://vencord.dev
GNU General Public License v3.0
9.11k stars 1.29k forks source link

VoiceMessages: Web recorder records webm instead of ogg #1512

Open Vendicated opened 1 year ago

Vendicated commented 1 year ago

Like the title says, the recording is webm, not ogg. This causes voice messages to be unplayable on ios.

Unfortunately, chrome does not support ogg, so we will likely have to use a library like https://github.com/chris-rudmin/opus-recorder

ehsope commented 1 year ago

OGG and WEBM are containers. Is the codec different or the same?

Vendicated commented 1 year ago

ogg opus

itsTyrion commented 3 months ago

Opus is the audio codec and, IIRC, .ogg and .opus use the same container. so it SHOULD just be a matter of using a different container