Opus files are given the MIME type "audio/opus", which is not correct. The problem originates from #53, which incorrectly references the RFC for RTP payloads.
The correct MIME type for Opus files is "audio/ogg; codecs=opus", as seen in sections 9 and 10 of this RFC defining the Opus file format.
This issue appears to be the root cause of thelounge/thelounge#4429.
Existing Issue Check
[X] I have searched the existing issues and could not find any related to my problem.
Description
Opus files are given the MIME type "audio/opus", which is not correct. The problem originates from #53, which incorrectly references the RFC for RTP payloads. The correct MIME type for Opus files is "audio/ogg; codecs=opus", as seen in sections 9 and 10 of this RFC defining the Opus file format. This issue appears to be the root cause of thelounge/thelounge#4429.
Existing Issue Check
ESM (ECMAScript Module) Requirement Acknowledgment
package.json
contains the following entry:"type": "module"
.File-Type Scope Acknowledgment