mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-06 19:08:59 -05:00
[GH-ISSUE #17761] issue: audio mime types #33918
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rbb-dev on GitHub (Sep 25, 2025).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/17761
Check Existing Issues
Installation Method
Docker
Open WebUI Version
v0.6.30
Ollama Version (if applicable)
No response
Operating System
Ubuntu 24.04
Browser (if applicable)
iOS Safari, Edge
Confirmation
README.md.Expected Behavior
Open WebUI should parse and normalise media types, treating whitespace around separators as insignificant, so strings like
audio/webm;codecs=opusandaudio/webm; codecs=opusare considered equivalent and match correctly.Actual Behavior
During dictation, Open WebUI logs show different Content‑Type values depending on the browser. Edge results in file.content_type = "audio/webm;codecs=opus" (no space), while iOS Safari results in file.content_type = "audio/webm; codecs=opus" (space after the semicolon). Because whitespace is treated as significant, the Safari variant is rejected as unsupported
2025-09-26 08:22:10.886 | INFO | open_webui.routers.audio:transcription:944 - file.content_type: audio/webm;codecs=opus2025-09-26 08:22:24.591 | INFO | open_webui.routers.audio:transcription:944 - file.content_type: audio/webm; codecs=opusSteps to Reproduce
1 - set mime type to:
audio/webm;codecs=opusiOS Safari unable to use dictate function2 - set mime type to:
audio/webm; codecs=opusWin11 Edge unable to use dictate function3 - Set mime type to:
audio/webm;codecs=opus,audio/webm; codecs=opus. Both Safari and Edge work.Logs & Screenshots
2025-09-26 08:22:10.886 | INFO | open_webui.routers.audio:transcription:944 - file.content_type: audio/webm;codecs=opus
2025-09-26 08:22:24.591 | INFO | open_webui.routers.audio:transcription:944 - file.content_type: audio/webm; codecs=opus
Additional Information
No response
@ShirasawaSama commented on GitHub (Sep 26, 2025):
Could you tell me which iOS version you're using and which speech-to-text engine you're using?
@ShirasawaSama commented on GitHub (Sep 26, 2025):
#17771
@Classic298 commented on GitHub (Dec 14, 2025):
This should have been solved now in dev