element-ios
element-ios copied to clipboard
Stereo opus files sound glitchy when playing back.
Steps to reproduce
- Upload one of the sample files from https://filesamples.com/formats/opus to a room from web.
- Open the room on iOS
- Play the file back.
Outcome
What did you expect?
The file to sound the same as it does on desktop.
What happened instead?
It sounds very glitchy and reports as being twice the length it should be.
It looks like the SwiftOGG package is forcing kAudioChannelLayoutTag_Mono
instead of reading this from the file.
Your phone model
iPhone 12
Operating system version
iOS 15.6.1
Application version
1.8.27
Homeserver
No response
Will you send logs?
No
Tried a bunch of things to fix this including playing with channels and interleaving. Haven't found something that addresses the crackling.