[Webkit-unassigned] [Bug 232076] Safari on iOS cannot play a video from data uri or blob

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 29 13:14:40 PDT 2022


https://bugs.webkit.org/show_bug.cgi?id=232076

--- Comment #26 from Dustin Kerstein <dustin.kerstein at gmail.com> ---
Hi everyone,

I was able to test this on a first generation iPad Pro running iPad OS 15.4 and on an iPhone X on iOS 15.4. Upon initial testing it looked like this fix finally addressed the issue. However, upon further testing I noticed that playback/seeking would sometimes stall (usually around the same place in the video). While this could be a different issue, it's interesting that the one piece of valuable debug I've found so far is the range request. Here is what a valid request/response looks like during working playback:

Request
--------
Range: bytes=4292608-4308991

Response
--------
Content-Type: video/mp4
Content-Length: 16384
Content-Range: bytes 4292608-4308991/4315470

And when playback/seeking breaks, I see this malformed range request/response:

Request
--------
Range: bytes=4308992- 

Response
--------
Content-Length: 6478
Content-Range

No playback/seeking works after this bad 206 range request. See the full broken request/response below:

Summary
URL: blob:http://192.168.4.23:3000/2166e4f1-23ea-46cc-b789-c67810991241
Status: 206 Partial Content
Source: Network

Request
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_6) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.4 Safari/605.1.15
Range: bytes=4308992-
Referer: http://192.168.4.23:3000/u/dustinkerstein/m/both
Origin: http://192.168.4.23:3000
Accept: */*
X-Playback-Session-Id: 7C8DCC6C-1022-4E7D-9A17-0DFF975BE68C

Response
Content-Type: video/mp4
Content-Length: 6478
Content-Range

Here is a simple Javascript only test-case which seeks forwards and backwards in the video - https://jsfiddle.net/dustinkerstein/o9fy1483 - On my iPad Pro playback breaks when it starts to seeks backwards and freezes on the first or second frame (and this is where the last broken range request is found).

Does this seem like a related issue, or possibly something else? Regardless, this bug will continue to prevent our company from being able to use blobs as video source due to our reliance on working seek functionality.

-- 
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/20220329/468e3020/attachment.htm>


More information about the webkit-unassigned mailing list