Bug 241857 - [GLIB] MediaSessionGlib shows multiple players for a single video
Summary: [GLIB] MediaSessionGlib shows multiple players for a single video
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKitGTK (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Philippe Normand
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-06-22 09:53 PDT by Patrick Griffis
Modified: 2022-06-23 04:58 PDT (History)
3 users (show)

See Also:


Attachments
Example of multiple MPRIS players for one video (56.54 KB, image/png)
2022-06-22 09:53 PDT, Patrick Griffis
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Griffis 2022-06-22 09:53:01 PDT
Created attachment 460417 [details]
Example of multiple MPRIS players for one video

WebKitGTK is far too eager to show MediaSessions.

Opening the Youtube HomePage (https://youtube.com) will show like 8 players over MPRIS for what is actually a single video.

All of them seem to actually control the same video though often only one will have the correct metadata like title.

I've attached an example picture.
Comment 1 Michael Catanzaro 2022-06-22 10:09:39 PDT
(Even if the problem is not directly related to the GStreamer backend, I still like to use [GStreamer] here to keep multimedia bugs all together.)
Comment 2 Philippe Normand 2022-06-23 01:56:37 PDT
Pull request: https://github.com/WebKit/WebKit/pull/1721
Comment 3 EWS 2022-06-23 04:58:56 PDT
Committed r295774 (251779@main): <https://commits.webkit.org/251779@main>

Reviewed commits have been landed. Closing PR #1721 and removing active labels.