Skip to content

fix(Media): normalize mimeType for audio/wav#1001

Open
barryvdh wants to merge 3 commits intoprism-php:mainfrom
barryvdh:patch-3
Open

fix(Media): normalize mimeType for audio/wav#1001
barryvdh wants to merge 3 commits intoprism-php:mainfrom
barryvdh:patch-3

Conversation

@barryvdh
Copy link
Copy Markdown
Contributor

@barryvdh barryvdh commented Apr 2, 2026

Normalizes legacy formats to audio/wav

Description

Normalizes the mimetype. For now, just for .wav files

Fixes #981

@barryvdh
Copy link
Copy Markdown
Contributor Author

barryvdh commented Apr 2, 2026

The gemini docs also state audio/wav:
https://ai.google.dev/gemini-api/docs/audio#supported-formats

@barryvdh barryvdh changed the title Normalize mimeType for audio.wav fix(Media): normalize mimeType for audio/wav Apr 2, 2026
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

Successfully merging this pull request may close these issues.

.wav files not working in OpenAI because of audio/x-wav instead of audio/wav mimeType

1 participant