Trigger media session's action handlers by media control keys
Categories
(Core :: Audio/Video: Playback, task, P3)
Tracking
()
Tracking | Status | |
---|---|---|
firefox75 | --- | fixed |
People
(Reporter: alwu, Assigned: alwu)
References
Details
Attachments
(7 files)
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review | |
47 bytes,
text/x-phabricator-request
|
Details | Review |
In this bug, we would connect the implementation of media control with the media session, then when pressing media control keys, it can trigger corresponding media session's action handlers.
That includes
(1) select globally active media session among tabs
(2) select active media session within a tab
(3) dispatch media control key events to correct handler
Assignee | ||
Comment 4•4 years ago
|
||
Assignee | ||
Comment 5•4 years ago
|
||
Assignee | ||
Comment 6•4 years ago
|
||
Assignee | ||
Comment 7•4 years ago
|
||
Assignee | ||
Comment 8•4 years ago
|
||
Assignee | ||
Comment 9•4 years ago
|
||
Assignee | ||
Comment 10•4 years ago
|
||
Assignee | ||
Comment 11•4 years ago
|
||
According the discussion in berlin allhands, change this bug to P1 to indicate that I'm currently working on it.
Comment 13•4 years ago
|
||
Pushed by alwu@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/dc80e2e315bb part1 : implement MediaMetadataBase. r=chunmin https://hg.mozilla.org/integration/autoland/rev/d9c81e130d8e part2 : implement MediaSessionController which is used to update media session and store media metadata. r=chunmin https://hg.mozilla.org/integration/autoland/rev/e84b9499917e part3 : notify media session being created and destroyed. r=chunmin,bzbarsky https://hg.mozilla.org/integration/autoland/rev/f68e07f10eff part4 : directly notify context where media session exists if we have active media session. r=chunmin,bzbarsky https://hg.mozilla.org/integration/autoland/rev/81962e36e851 part5 : add test for triggering media session's action handlers. r=chunmin https://hg.mozilla.org/integration/autoland/rev/dc190b263fc7 part6 : add test for active media session. r=chunmin https://hg.mozilla.org/integration/autoland/rev/02f224473690 part7 : add test for checking active session among tabs. r=bzbarsky
Comment 14•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/dc80e2e315bb
https://hg.mozilla.org/mozilla-central/rev/d9c81e130d8e
https://hg.mozilla.org/mozilla-central/rev/e84b9499917e
https://hg.mozilla.org/mozilla-central/rev/f68e07f10eff
https://hg.mozilla.org/mozilla-central/rev/81962e36e851
https://hg.mozilla.org/mozilla-central/rev/dc190b263fc7
https://hg.mozilla.org/mozilla-central/rev/02f224473690
Description
•