Closed Bug 1123642 Opened 11 years ago Closed 8 years ago

[FFOS]Dormant cannot be entered during playing youtube after pressing power key.

Categories

(Core :: Audio/Video: Playback, defect)

37 Branch
ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED INCOMPLETE
Tracking Status
b2g-v2.0 --- affected
b2g-v2.1 --- affected
b2g-v2.2 --- affected

People

(Reporter: bwu, Assigned: bwu)

Details

(Whiteboard: [platform-rel-Youtube])

Attachments

(2 files)

Video and audio are still playing after pressing the power key.
More info. After pressing the power key, MediaDecoder::SetDormantIfNecessary is not called.
Blocks: MSE-FxOS
This problem can be found in non-MSE case. And only playing video via browser can hit this problem. Using video APP cannot.
No longer blocks: MSE-FxOS
Summary: [FFOS][MSE] Dormant cannot be entered during playing youtube after pressing power key. → [FFOS]Dormant cannot be entered during playing youtube after pressing power key.
I flash central image as below and still hit this problem. Gaia-Rev 1d53fb07984298253aad64bfa4236b7167ee3d4d Gecko-Rev https://hg.mozilla.org/mozilla-central/rev/dece5291d037 Build-ID 20150127160231 Version 38.0a1 Device-Name flame FW-Release 4.4.2 FW-Incremental eng.cltbld.20150127.194533 FW-Date Tue Jan 27 19:45:44 EST 2015 Bootloader L1TC10011880
Using the latest v2.2 image can hit this problem as well. Gaia-Rev d84b2806501ecbf2383f744c5a2b66ca365b12ab Gecko-Rev https://hg.mozilla.org/releases/mozilla-b2g37_v2_2/rev/4688d7f774e8 Build-ID 20150127162504 Version 37.0a2 Device-Name flame FW-Release 4.4.2 FW-Incremental eng.cltbld.20150127.201411 FW-Date Tue Jan 27 20:14:22 EST 2015 Bootloader L1TC10011880 Set qawanted to help to find out the image that doesn't have this problem.
Keywords: qawanted
Hi Reporter, I can repro this bug on earliest Flame v2.0&2.1. See attachment: verify_v2.0.mp4 and logcat_1716.txt. Reproduce rate: 5/5 Repro STR: 1.Connect wifi 2.Open Browser app and enter youtube website. 3.Play a video. 4.Press Power key to lock screen. **Video will continue to play. --KO Note: 1.If you open Camera app->recording a video and save->preview the video->press Power key when video is playing in camera, then the video still continue to play. 2.When you play the video in Video app,this bug does not exist. Flame 2.1 earliest build: Build ID 20141008161201 Gaia Revision 7ef2e1e59637a34ca4489c329b3bdee93df3ac6c Gaia Date 2014-10-08 12:32:21 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g34_v2_1/rev/e3d495eb85c6 Gecko Version 34.0a2 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20141008.195811 Firmware Date Wed Oct 8 19:58:25 EDT 2014 Bootloader L1TC000118D0 Flame 2.0 earliest build: Build ID 20140923160206 Gaia Revision 6449cc35a8f0704d95acac374ba857bde4b86d6c Gaia Date 2014-09-23 08:08:12 Gecko Revision https://hg.mozilla.org/releases/mozilla-b2g32_v2_0/rev/4edd7f40672b Gecko Version 32.0 Device Name flame Firmware(Release) 4.4.2 Firmware(Incremental) eng.cltbld.20140923.200317 Firmware Date Tue Sep 23 20:03:27 EDT 2014 Bootloader L1TC000118D0
(In reply to Blake Wu [:bwu][:blakewu] from comment #4) > Set qawanted to help to find out the image that doesn't have this problem. See comment 5.
Flags: needinfo?(ktucker)
Keywords: qawanted
It is by design. See Bug 906612 Comment 9. Video app change HTMLMediaElement.mozAudioChannelType to "content" to prevent this. https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement.mozAudioChannelType If we want to fix this, we need to ask youtube to set HTMLMediaElement.mozAudioChannelType to "content".
QA Whiteboard: [QAnalyst-Triage+]
Flags: needinfo?(ktucker)
QA Whiteboard: [QAnalyst-Triage+] → [QAnalyst-Triage+][MGSEI-Triage+]
(In reply to Sotaro Ikeda [:sotaro] from comment #9) > It is by design. See Bug 906612 Comment 9. > > Video app change HTMLMediaElement.mozAudioChannelType to "content" to > prevent this. > https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement. > mozAudioChannelType > > If we want to fix this, we need to ask youtube to set > HTMLMediaElement.mozAudioChannelType to "content". Thanks for the info! To me, this is not a good UX. Most people should expect the playback to be stopped.
(In reply to Pi Wei Cheng [:piwei] from comment #8) > (In reply to Blake Wu [:bwu][:blakewu] from comment #4) > > Set qawanted to help to find out the image that doesn't have this problem. > > See comment 5. Shally and piwei, Thanks!
Component: Audio/Video → Audio/Video: Playback
platform-rel: --- → ?
Whiteboard: [platform-rel-Youtube]
platform-rel: ? → ---
We're not supporting Firefox OS any more, so this is unlikely to see new work. Closing as incomplete.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: