Firefox has crackling sound

brave decided to log me out of everything everytime i close it. So I am migrating to firefox. However i have ran into a problem. Sound through firefox crackles. doesnt happen in brave. Any ideas on how i can fix it in firefox? I am still running manjaro-pulse. I tried moving to manjaro-pipewire and got things only half way working. I got sound through firefox and it seemed to stop the crackling… however all plasma notifactions no longer worked. In the process of trying to fix it… i completely broke the sound. Fortunately i was running zfs with snapshots and rolled back to where everything was on Friday. Brave still a pita with the log out… but sound works fine again. But firefox is still crackling.

I noticed that this only happened with youtube or youtube tv… but not youtube music. Something with video?

edit:
i have changed the following in about:config… i think it fixed it but need to do more testing:

media.hardware-video-decoding.enabled false
media.hardware-video-decoding.force-enabled false

Edit2:

Seems to have fixed the problem… but that begs the question why? videos seem to play just fine with them set to false.

Edit 3:
and it is back… i am on kernel 6.14. any ideas? if i reboot it is better for a while.

Edit 4:
My .cache for brave/chrome and chromium somehow got corrupted… they work now… so back to brave.