Closed
Bug 1120248
Opened 11 years ago
Closed 7 years ago
Only one video can be loaded in a Firefox OS app
Categories
(Core :: Audio/Video: Playback, defect)
Tracking
()
RESOLVED
WONTFIX
People
(Reporter: ntim, Unassigned)
References
Details
STR :
- Install the Vine app for Firefox OS
- Play a vine
- The vine loads perfectly
- Load a second vine
Actual Results :
- The second vine doesn't load (same for the next vines you'll load)
- It gets stuck from 0:00 to 0:00
Expected results :
- It should load the second vine fine.
Also, if there's something wrong in the app, I'll be glad to fix it.
Comment 1•11 years ago
|
||
include Blake.
Could it be something about limited instances of hardware codec?
Comment 2•11 years ago
|
||
(In reply to JW Wang [:jwwang] from comment #1)
> include Blake.
>
> Could it be something about limited instances of hardware codec?
Yes. It looks like it is related to the limitation of codec instance creation.
Tim,
You could try to modify VIDEO_DECODER_COUNT @[1] to see if your app can load successfully or not.
[1]https://dxr.mozilla.org/mozilla-central/source/dom/media/omx/mediaresourcemanager/MediaResourceManagerService.h#35
Updated•10 years ago
|
Component: Audio/Video → Audio/Video: Playback
Comment 3•10 years ago
|
||
(In reply to Tim Nguyen [:ntim] from comment #0)
> STR :
> - Install the Vine app for Firefox OS
> - Play a vine
> - The vine loads perfectly
> - Load a second vine
>
> Actual Results :
> - The second vine doesn't load (same for the next vines you'll load)
> - It gets stuck from 0:00 to 0:00
>
> Expected results :
> - It should load the second vine fine.
>
> Also, if there's something wrong in the app, I'll be glad to fix it.
ntim, how can we down load the app?
On current Firefox OS, amount of total video decoder that can be used concurrently is limited to one. If additional video tags request video decoders, the additional video tags just wait to acquire video decoders. When a video tag or a document of containing video tag is hidden, the video tag releases video decoder(we call it dormant state). By this mechanism, video decoder resource is shared between applications. There is a limitation of video decoder sharing between video tags in same application.
Anyway, we need to mitigate this restriction. But just permit any number of video decoders cause the regression.
Flags: needinfo?(ntim.bugs)
Updated•10 years ago
|
| Reporter | ||
Comment 4•10 years ago
|
||
(In reply to Sotaro Ikeda [:sotaro] from comment #3)
> ntim, how can we down load the app?
Here it is: https://marketplace.firefox.com/app/vine/
> On current Firefox OS, amount of total video decoder that can be used
> concurrently is limited to one. If additional video tags request video
> decoders, the additional video tags just wait to acquire video decoders.
> When a video tag or a document of containing video tag is hidden, the video
> tag releases video decoder(we call it dormant state). By this mechanism,
> video decoder resource is shared between applications. There is a limitation
> of video decoder sharing between video tags in same application.
> Anyway, we need to mitigate this restriction. But just permit any number of
> video decoders cause the regression.
I don't know much about this domain, but maybe a temporary fix could be unloading the current video decoder when another video is played ?
Flags: needinfo?(ntim.bugs)
Comment 5•10 years ago
|
||
Yea, unloading the video could be a temporal fix of app. One way is set src to ''. See bug 1021313 Comment 5. Thanks.
Updated•7 years ago
|
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•