Screen sharing issues

Hello, I’m currently having some issues with screen sharing on Fedora 40 KDE (Wayland session). I’m not sure what causes it, but sometimes I go to share my screen on OBS or Discord and no video is passed to either application.

It works after a system restart, so I probably just need to restart a service, and it happens infrequently enough that I don’t mind if I have to enter a terminal command to restart it every now and then.

OS/DE: Fedora 40 KDE
CPU: AMD Ryzen 7 5800X 8-Core Processor