New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 644131 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Last visit > 30 days ago
Closed: Jun 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 2
Type: Bug



Sign in to add a comment

Regression: Video from LocalStorage hang after a while

Reported by mpetr...@fabvla.com, Sep 5 2016

Issue description

UserAgent: 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.
 
Cc: hubbe@chromium.org
 Issue 642531  has been merged into this issue.
Cc: -hubbe@chromium.org
Components: -Internals>Media Internals>Media>Network
Owner: hubbe@chromium.org
Status: Assigned (was: Unconfirmed)
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.

Comment 5 by mpetr...@fabvla.com, 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.

Comment 6 by hubbe@chromium.org, Jun 1 2017

Status: WontFix (was: Assigned)

Sign in to add a comment