Skip to content

The output audio file has inconsistent mime type #562

@CLazarini

Description

@CLazarini

Package version
record: 6.1.0

Environment

  • OS: Android Galaxy A13 (Android 14)

Describe the bug

The output file has inconsistent mime type.
Selecting encoder : AudioEncoder.aacLc
Saving the output file as .m4a

Some mime type checker say audio/x-m4a like mimetype.io. Apple finder list it as MPEG4 Audio file.
But this one or this one list it as video/mp4.
The same way my API that checks the mime type for confirmation returns video/mp4.

To Reproduce

Steps to reproduce the behavior:
Use default RecordConfig (AudioEncoder.aacLc and bitRate: 128000)
Save an audio file with the .m4a extension
Analyze the output file mime type

Expected behavior

I would like to be able to specify the mime type or at least be sure of the output file type.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions