Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support on playing m4a files without having to download them. #1783

Open
GamePlayer-8 opened this issue Jun 20, 2024 · 1 comment
Open

Comments

@GamePlayer-8
Copy link

Describe the problem

Currently Fluffychat (Android Matrix client) sends the audio messages as m4a. While Cinny supports playing mp3 audio files within the Cinny UI, it doesn't support the m4a audio files.

Describe the solution you'd like

Add support on playing m4a audio files within the browser / client.

Alternatives considered

No response

Additional context

No response

@aceArt-GmbH
Copy link
Contributor

aceArt-GmbH commented Jun 21, 2024

Cinny sends m4a as "msgtype": "m.file", and not "msgtype": "m.audio", (like Element).
But even then it is not playable even if the browser supports it

https://github.com/cinnyapp/cinny/blob/dev/src/app/utils/mimeTypes.ts#L12-L24 does not declare audio/x-m4a as getBlobSafeMimeType audio mime type.
Adding it allows playback in cinny

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants