[Webkit-unassigned] [Bug 243912] New: Certain TikTok sound previews are broken
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Aug 12 18:31:45 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=243912
Bug ID: 243912
Summary: Certain TikTok sound previews are broken
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: Media
Assignee: webkit-unassigned at lists.webkit.org
Reporter: y_soliman at apple.com
Any TikTok sound generated from an originally uploaded video (not submitted as a separate audio) is not handled properly by our media pipeline.
The issue arises from TikTok making a request for an `audio/mpeg`, while the server responds back with a MIME type of `video/mp4` and response body containing an `mp3` file.
Downloading the file locally, you can see that renaming the file extension to `mp3` and opening it in Safari will play normally.
A fix for this might involve inferring the type separately and falling back to that media type if the initial load is unsuccessful.
Example of broken audio
Link to sound: https://www.tiktok.com/music/original-sound-7089077221968595755
Direct audio file link: https://v16m.tiktokcdn.com/9b85c36eb6ee5af4270d709d3bc99129/62f7515f/video/tos/maliva/tos-maliva-v-27dcd7c799-us/662ea36d360b41539e8b0fc113ebefc7/
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220813/8fcf6dfb/attachment.htm>
More information about the webkit-unassigned
mailing list