Bluetooth headphones and YouTube videos stop working after upgrade to Fedora 35

After upgrade from Fedora 34 to Fedora 35 Bluetooth headphones and speakers might stop working, and you might get the following error when trying to watch YouTube videos “If playback doesn’t begin shortly try restarting your device”

When checking /var/log/messages or journalctl -f you will see the following error logged when trying to open a video or enabling Bluetooth headphones or speakers.

pulseaudio[2366]: Failed to create sink input: sink is suspended.

Issue can be resolved by swapping pulseaudio packages with pipewire-pulseaudio using the following command

dnf swap --allowerasing pulseaudio pipewire-pulseaudio