You are not logged in.

#1 2023-03-28 11:44:42

IsItWashable
Member
Registered: 2021-10-12
Posts: 64

Audio Volume keeps changing when I open a new video on Youtube.

Please watch the video below (Audio is a little bit too loud so please turn the volume down!).

https://www.youtube.com/watch?v=PJdbG-tpwJc

As you can see, when clicking on a new video the audio in Pulse Audio Control dropped to 87% without input.
Anyone know what's going on here? I am using Pipewire, with a Scarlet 2i2 Audio Interface.

Offline

#2 2023-03-28 12:28:52

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,438

Re: Audio Volume keeps changing when I open a new video on Youtube.

Firefox's weird and to be frank nonsensical internal volume management at work, it tries and often fails to map the sink volume to the representation in the actual media player (in this case the youtube volume control). You can't fix this in firefox itself currently and it's the main reason I can't use firefox as my main browser as this behaviour is completely unpredictable. All due to firefox insisting the access the pulseaudio API in ways that no other application does. I've been meaning to patch this at some point but didn't get to it yet. There are various bug reports floating around but no official action, the patch do this should be fairly trivial, but you still need to rebuild the entirety of the browser.

Offline

#3 2023-03-28 12:48:38

IsItWashable
Member
Registered: 2021-10-12
Posts: 64

Re: Audio Volume keeps changing when I open a new video on Youtube.

Okay, Thanks! Which browser are you using now then?

Offline

#4 2023-03-28 13:23:40

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 25,438

Re: Audio Volume keeps changing when I open a new video on Youtube.

Just chromium, but anything blink based will do, they access the pulse API the same way every other application does, which will not change the sink volume you see in pavucontrol and friends arbitrarily. The individual streams will store the volume you last changed there as is the case with everything else.

Offline

#5 2023-03-28 13:30:23

IsItWashable
Member
Registered: 2021-10-12
Posts: 64

Re: Audio Volume keeps changing when I open a new video on Youtube.

Cool, Thanks for your help!

Offline

Board footer

Powered by FluxBB