Closed Bug 1242883 Opened 9 years ago Closed 9 years ago

Fennec can't terminate fling-player

Categories

(Firefox OS Graveyard :: Gaia::TV::Fling, defect)

defect
Not set
normal

Tracking

(blocking-b2g:2.5+, b2g-v2.5 verified, b2g-master verified)

VERIFIED FIXED
blocking-b2g 2.5+
Tracking Status
b2g-v2.5 --- verified
b2g-master --- verified

People

(Reporter: taguchi.fumihiko, Assigned: schien)

References

Details

(Whiteboard: [ft:conndevices][partner-blocker])

Attachments

(1 file)

Although Fennec is connecting with fling-player app in firefox OS, it can't terminate app by press the x-mark in Fennec's control panel.
I expect that the seamless experience is launched and terminated fling-player from user's smart-phone.
Flags: needinfo?(schien)
This is by design and our UX can provide more detailed reason.
Flags: needinfo?(schien) → needinfo?(tchen)
I think it should same as current behavior on Fennec. If the videos sent to chromecast will be terminated by pressing the x-mark, we should kill the video on TV side too.

SC, could you check Fennec's code and make sure we have same behavior as theirs? Thanks!
Flags: needinfo?(tchen) → needinfo?(schien)
Comment on attachment 8713123 [details]
[gaia] schien:bug1242883-support-terminate-player > mozilla-b2g:master

Per discussion with Tori, UX wants fling player be terminated while user explicitly close session (via 'X' button on Fennec) but keep fling player if Fennec is force closed. Therefore I create a new command 'close' to support this use case.
Flags: needinfo?(schien)
Attachment #8713123 - Flags: review?(rexboy)
Comment on attachment 8713123 [details]
[gaia] schien:bug1242883-support-terminate-player > mozilla-b2g:master

Looks good to me but we may need unit tests for this, whether in this bug or follow-up bugs.

add r? to fischer since most of the works are done by him.
Attachment #8713123 - Flags: review?(rexboy)
Attachment #8713123 - Flags: review?(fliu)
Attachment #8713123 - Flags: review+
update test case tv_apps/fling-player/test/unit/casting_message_test.js in latest pull request.
Assignee: nobody → schien
Component: Screencasting → Gaia::TV::Fling
Product: Firefox for Android → Firefox OS
[Blocking Requested - why for this release]:
blocking-b2g: --- → 2.5?
Comment on attachment 8713123 [details]
[gaia] schien:bug1242883-support-terminate-player > mozilla-b2g:master

Looks good to me, thanks.
Attachment #8713123 - Flags: review?(fliu) → review+
Blocks: 1243732
No longer blocks: 1243732
Comment on attachment 8713123 [details]
[gaia] schien:bug1242883-support-terminate-player > mozilla-b2g:master

[Approval Request Comment]
[Bug caused by] (feature/regressing bug #):1205977
[User impact] if declined:cannot manually close fling player from fennec
[Testing completed]: manual test
[Risk to taking this patch] (and alternatives if risky): no
[String changes made]: no
Attachment #8713123 - Flags: approval-gaia-v2.5?(jocheng)
Comment on attachment 8713123 [details]
[gaia] schien:bug1242883-support-terminate-player > mozilla-b2g:master

Approve for TV 2.5
Attachment #8713123 - Flags: approval-gaia-v2.5?(jocheng) → approval-gaia-v2.5+
(In reply to Josh Cheng [:josh] from comment #10)
> Comment on attachment 8713123 [details]
> [gaia] schien:bug1242883-support-terminate-player > mozilla-b2g:master
> 
> Approve for TV 2.5

i got fatal: bad object efc30860b02e7345dd1c85e810cc7be90fa8bfaf

so i guess this needs to be merged first or ? before this can be on 2.5 ?
Flags: needinfo?(schien)
(In reply to Carsten Book [:Tomcat] from comment #11)
> (In reply to Josh Cheng [:josh] from comment #10)
> > Comment on attachment 8713123 [details]
> > [gaia] schien:bug1242883-support-terminate-player > mozilla-b2g:master
> > 
> > Approve for TV 2.5
> 
> i got fatal: bad object efc30860b02e7345dd1c85e810cc7be90fa8bfaf
> 
> so i guess this needs to be merged first or ? before this can be on 2.5 ?
@tomcat, pull request need to be merge to master branch before uplift.
Thanks!
Flags: needinfo?(schien) → needinfo?(cbook)
blocking-b2g: 2.5? → 2.5+
Whiteboard: [ft:conndevices][partner-blocker]
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
Verify this issue on v2.6.
Pressing the x-mark in Fennec's control panel can terminate app.

Build ID               20160303150404
Gaia Revision          f41e046a5c6032d9ce281fdb96256be7fc9b0c0f
Gaia Date              2016-03-03 09:09:37
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/2b5237c178ea02133a777396c24dd2b713f2b8ee
Gecko Version          47.0a1
Device Name            hammerhead
Firmware(Release)      5.1.1
Firmware(Incremental)  eng.worker.20160204.113511
Firmware Date          Thu Feb  4 11:35:29 UTC 2016
Bootloader             HHZ11k
This issue is also not observed on v2.5.

Build ID               20151029030207
Gaia Revision          71952d4b5417796380ddab274c5566a8eced2f8b
Gaia Date              2016-03-04 08:37:48
Gecko Revision         https://hg.mozilla.org/mozilla-central/rev/1e700005a0ddf2b17803213e1f3f8d78a7a618b8
Gecko Version          44.0a1
Device Name            hammerhead
Firmware(Release)      5.1.1
Firmware(Incremental)  eng.worker.20160204.113511
Firmware Date          Thu Feb  4 11:35:29 UTC 2016
Bootloader             HHZ11k
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: