Regression: Video from LocalStorage hang after a while
Reported by
mpetr...@fabvla.com,
Sep 5 2016
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36 Platform: 8350.68.0 Example URL: Steps to reproduce the problem: 1. Create a Chrome App that stores a video (we tested a 35mb video, mp4, h.264) in local storage 2. Load from local storage the video and attach it to a video element, that has loop attribute set to true What is the expected behavior? What went wrong? Video hangs after a while. It seems to be related on how video is loaded from cache. I can see it is loaded more than once from cache, in chrome >=52. We did not have this behavior on version 51. Did this work before? Yes Until version 51 (included) Is it a problem with Flash or HTML5? HTML5 Does this work in other browsers? Yes Chrome version: 52.0.2743.116 Channel: stable OS Version: 52.0.2743.116 Flash Version: The solovide (1).zip is a Chrome App that stores a video in localStorage and then plays in loop, reading it from the localStorage. You may test the behavior using the app inside the archive.
,
Sep 6 2016
Issue 642531 has been merged into this issue.
,
Sep 7 2016
,
Sep 7 2016
Digging and testing during this days:
It seems that the issue is related to load a file in the
window.webkitRequestFileSystem(window.PERSISTENT, Number.MAX_VALUE /*15*1024*1024*/, (fs)=> {
Resources.LoadLocal ( fs.root, url,
callback.
If we load a resource in the callback, the resource hangs and is streamed in a wrong way.
It did not happen in Chrome 51 and previous versions.
,
Sep 11 2016
Hi, the issue is related to the fact that we did not stream the video from the fileEntry URL directly, but we transformed the item in a file object, before getting url. I think it is a bad way to stream media from storage. It worked on Chrome 51, but probably new Chrome version doesn't like this way at all. Anyway, I think the issue may be closed, because streaming from url directly is the best practice. Thank you.
,
Jun 1 2017
|
|||
►
Sign in to add a comment |
|||
Comment 1 by dalecur...@chromium.org
, Sep 6 2016