Bug 256803

Summary: [GStreamer] Wrong icon (loudspeaker / speakerphone) shown in browser tabs playing silent or muted looping videos
Product: WebKit Reporter: Jeff Fortin <nekohayo>
Component: MediaAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Minor CC: bugs-noreply, mcatanzaro, philn
Priority: P2    
Version: Other   
Hardware: PC   
OS: Linux   

Description Jeff Fortin 2023-05-15 13:31:31 PDT
Originally filed at https://gitlab.gnome.org/GNOME/epiphany/-/issues/2074

With Epiphany 44.2 + WebKitGTK 2.40.1 + GStreamer 1.22.2, as packaged by Fedora 38, if you visit https://interbrand.com for example, it will autoplay a muted version of a looping video in the hero banner area at the top. There is an unmute button you can click on the video, but let's not care about that for now.

The problem is that even if it's playing silently, it shows this loudspeaker icon in the tab in the Epiphany UI (and sometimes it bugs out and even shows it when the tab is unfocused, whereas at other times it does not show it): https://gitlab.gnome.org/GNOME/epiphany/uploads/e4f07aa1b9d7e431b1df35d7c6001263/image.png

Shouldn't it use a different icon (or no icon at all) when the playing videos are muted or have no audio track?
Comment 1 Philippe Normand 2023-05-16 04:45:59 PDT
MiniBrowser works fine here: https://cloud.igalia.com/s/oTxB9e3ny7bod28

Is this a flaky behaviour?
Comment 2 Michael Catanzaro 2023-05-16 05:24:07 PDT
I was able to reproduce the bug in MiniBrowser on the first try. The WebKitWebView:is-playing-audio property must be set incorrectly.