Allow `MediaControlKeySource` to know the browsing context ID of the tab that is being controlled
Categories
(Core :: Audio/Video: Playback, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox80 | --- | fixed |
People
(Reporter: alwu, Assigned: alwu)
References
Details
Attachments
(2 files)
This is a request from GeckoView team, because they want to know which tab is being controlled and then they can call the corresponding callback to notify the embedded application.
Assignee | ||
Comment 1•5 years ago
|
||
On GeckoView, when we update the property on the key source, such as the playback state, metadata. We want to know which tab that those properties change belong to.
Therefore, we create a method SetControlledTabBrowsingContextId()
to tell the key source which tab is being controlled and all properties update should belong to that tab.
Assignee | ||
Comment 2•5 years ago
|
||
We forgot to implement those two methods on MediaControlKeyManager
, which would result in not able to propagate those update to the real key source that handle the platform level APIs, such as MPRIS, SMTC.
Comment 4•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/bfaf4034a513
https://hg.mozilla.org/mozilla-central/rev/85759048de42
Description
•