Skip to content

A specific audio file cannot be played. #2405

@YamatoRyou

Description

@YamatoRyou

Steps to reproduce

Download the following sample file and upload it to a room (unencrypted).
{FBE8A786-7F04-962F-6202-E99364B00315}.zip
Password: {DAA8217B-D191-3CE4-A23D-1DD64B00D2F6}
Please download this file as soon as possible.

Outcome

What did you expect?

n/a

What happened instead?

The sample file cannot be played in the app after uploading, but it can be downloaded normally, and after downloading to the local computer, it can still be played using a third-party player.
Error message in the console:

Error processing audio file: TypeError: Cannot perform Construct on a detached ArrayBuffer
    at new Uint8Array (<anonymous>)
    at compat.ts:35:28
    at new Promise (<anonymous>)
    at c (compat.ts:32:12)
    at r.prepare (Playback.ts:174:39)

Strange things:

  1. This file cannot be played only on desktop clients, but it can be played normally on the following clients:
    • Element Web
    • Elemnet Android
    • Element iOS
    • Element X Android
    • Element X iOS
    • Fluffy Chat Web
  2. The audio file is a recording, generated by an Android app. However, not all M4A audio files generated by the app have this problem, and some files can be played normally after being uploaded.

Operating system

x64 Windows 11 (10.0.26100)

Application version

Element Desktop 1.11.104

How did you install the app?

No response

Homeserver

Synapse 1.132.0

Will you send logs?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-MediaO-UncommonMost users are unlikely to come across this or unexpected workflowS-MinorImpairs non-critical functionality or suitable workarounds existT-Defect

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions