Bug 254343 - [Pipewire] No sound on youtube.com until video is manually muted then unmuted
Summary: [Pipewire] No sound on youtube.com until video is manually muted then unmuted
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: WebKit Nightly Build
Hardware: PC Linux
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2023-03-23 10:20 PDT by Michael Catanzaro
Modified: 2023-09-01 08:58 PDT (History)
4 users (show)

See Also:


Attachments
debug log (636.29 KB, text/x-log)
2023-03-23 10:20 PDT, Michael Catanzaro
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Catanzaro 2023-03-23 10:20:22 PDT
Created attachment 465555 [details]
debug log

Using Epiphany Tech Preview with WebKitGTK 2.40.0, I have no sound when playing videos on youtube.com. Debug log attached.

I have pipewire-0.3.67-1.fc38 on my host system.
Comment 1 Michael Catanzaro 2023-05-01 05:50:43 PDT
So nowadays when this bug occurs, the fix is to simply mute and then unmute the video using the volume control UI in the video widget. I'm not certain, but I don't think that worked at the time that I reported this bug, or I would have mentioned it here.

The current bug seems identical to bug #225857 from last year.

I have pipewire 0.3.69-2.fc38.
Comment 2 Philippe Normand 2023-05-01 06:36:34 PDT
It's not specific to YT. I used the same workaround yesterday on another website that was playing muted...

I think this is some racy pipewire behavior, not sure how to demonstrate it though, but the webkit gst logs show the video is un-muted.
Comment 3 Kdwk 2023-06-04 19:39:37 PDT
This also happens in apps other than Epiphany. I have to do the same in Spotify (from Flathub) and Spot (the GTK Spotify client from Flathub), for example.
Comment 4 Kdwk 2023-06-04 19:40:04 PDT
Besides muting and unmuting, changing the volume in the UI controls also work.
Comment 5 Philippe Normand 2023-06-05 02:01:27 PDT
Can you still reproduce the issues after replacing pulse with alsa?

GST_PLUGIN_FEATURE_RANK=pulsesink:0,alsasink:MAX
Comment 6 Kdwk 2023-06-05 02:26:59 PDT
Cannot reproduce with this env var
Comment 7 Radar WebKit Bug Importer 2023-09-01 08:58:35 PDT
<rdar://problem/114823264>