Open
Bug 1293963
(Phase_1_Shutdown_Decoder)
Opened 9 years ago
Updated 2 years ago
[Meta] Suspend-video-decoder: phase-1 shipping
Categories
(Core :: Audio/Video: Playback, defect, P3)
Core
Audio/Video: Playback
Tracking
()
NEW
Tracking | Status | |
---|---|---|
firefox51 | --- | affected |
People
(Reporter: kaku, Unassigned)
References
(Depends on 1 open bug, Blocks 1 open bug)
Details
(Keywords: meta)
Attachments
(1 obsolete file)
Per offline discussion, we are going to ship the phase 1 of suspend-video-decoder. In the phase 1, we target on the SAFE cases. Our assumption for SAFE cases is that for videos under certain resolution, the resuming time could be ignored.
Reporter | ||
Comment 1•9 years ago
|
||
So, the question is "What exact is the target resolution? and is the target resolution platform-dependent?"
Looks like that we don't have the telemetry for "resuming time v.s. resolution", we might this data to help deciding the target resolution.
In discussions, we've said to limit to "480" video or less. I took that to mean the default resolution of YouTube videos. The video ad I'm testing with is 720 × 406.
Reporter | ||
Comment 3•9 years ago
|
||
Yes, we did and I will implement it with 480P for now. But at the same time, we can still collect telemetry data for more rigorous decision later. Thanks :gerald for implementing the telemetry.
Depends on: 1294349
Updated•8 years ago
|
Priority: -- → P3
Reporter | ||
Comment 4•8 years ago
|
||
Since bug 1294656 has been landed, we can also enable the suspend-video-decoder feature for those video files without audio track, which could be resumed quickly by fast seek.
Reporter | ||
Updated•8 years ago
|
Depends on: 1294656
Summary: Only enable background-video-decoder-suspend for videos under certain resolution → Suspend-video-decoder: phase-1 shipping
Reporter | ||
Updated•8 years ago
|
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment 7•8 years ago
|
||
mozreview-review |
Comment on attachment 8788036 [details]
Bug 1293963 - phase-1 shipping;
https://reviewboard.mozilla.org/r/76580/#review74716
1. Extract all the policy code to a function so it is easier to maintain when we add more policies.
2. Do we need to switch the "shipping phase" back and forth? If not, there is no need to encode the concept in the code.
3. IIUC, VideoInfo::mDisplay is a scaled size and you should look at mImage. Please ask come gfx guys to confirm it.
Attachment #8788036 -
Flags: review?(jwwang) → review-
Reporter | ||
Comment 8•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8788036 [details]
Bug 1293963 - phase-1 shipping;
https://reviewboard.mozilla.org/r/76580/#review74716
> 2. Do we need to switch the "shipping phase" back and forth? If not, there is no need to encode the concept in the code.
I think that we could turn the nightly channel into phase-0 again once the phase-1 code has been checked into aurora, so that we can collect more telemetry data.
Alos, keeps this concept might help wrting test cases.
Comment 9•8 years ago
|
||
mozreview-review-reply |
Comment on attachment 8788036 [details]
Bug 1293963 - phase-1 shipping;
https://reviewboard.mozilla.org/r/76580/#review74716
It looks like a maintainace hazard to have different phases on difference release channels. It is also confusing when you have to check the phase in order to write a test case to run correctly on that phase.
Comment hidden (mozreview-request) |
Comment 11•8 years ago
|
||
mozreview-review |
Comment on attachment 8788036 [details]
Bug 1293963 - phase-1 shipping;
https://reviewboard.mozilla.org/r/76580/#review74732
Attachment #8788036 -
Flags: review?(jwwang) → review+
Reporter | ||
Comment 12•8 years ago
|
||
Thanks for the review!
Try looks good at https://treeherder.mozilla.org/#/jobs?repo=try&revision=51d36fcddaf2
Reporter | ||
Comment 13•8 years ago
|
||
I think we should NOT land this patch before bug 1284389 and bug 1295921 being resolved, right?
Flags: needinfo?(dglastonbury)
Comment 14•8 years ago
|
||
(In reply to Tzuhao Kuo [:kaku] from comment #13)
> I think we should NOT land this patch before bug 1284389 and bug 1295921
> being resolved, right?
Yeah, let's hang off until we can land bug 1295921. I'm working hard of getting head way into that bug.
Flags: needinfo?(dglastonbury)
Reporter | ||
Comment 15•8 years ago
|
||
Thanks for taking the tough bug!
I will start a long PTO since next Wed. on (around two weeks, until 10/2), so once you finished bug 1295921, please feel free to take this one and land the patch if you want.
Updated•8 years ago
|
Summary: Suspend-video-decoder: phase-1 shipping → [Meta] Suspend-video-decoder: phase-1 shipping
Updated•8 years ago
|
Alias: Phase_1_Shutdown_Decoder
Reporter | ||
Updated•8 years ago
|
Reporter | ||
Updated•8 years ago
|
Blocks: Shutdown-Decoder
Updated•8 years ago
|
QA Contact: bogdan.surd
Updated•8 years ago
|
Reporter | ||
Updated•8 years ago
|
Attachment #8788036 -
Attachment is obsolete: true
Comment 16•3 years ago
|
||
The bug assignee didn't login in Bugzilla in the last 7 months, so the assignee is being reset.
Assignee: kakukogou → nobody
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•