Application screen sharing not working

Hello,
In discord or any other application, the screen sharing for a specific window does not show anything. I have seen this in Discord and while using Google Meet on firefox, chrome, and brave browsers. The entire screen sharing works fine.
In OBS Studio Window Capture, the window titles are not shown. (Screeshots Included)



Thank You

What Desktop environment are you on? Discord screensharing used to - not sure if it still does - be troublesome when run under Wayland, so if that is the case for you, it is perhaps worth attempting the same under an X session.

Here my system information:

Operating System: EndeavourOS
KDE Plasma Version: 5.23.5
KDE Frameworks Version: 5.90.0
Qt Version: 5.15.2
Kernel Version: 5.16.1-arch1-g14-2 (64-bit)
Graphics Platform: X11
Processors: 16 × AMD Ryzen 9 5900HS with Radeon Graphics
Memory: 15.1 GiB of RAM
Graphics Processor: AMD RENOIR

I am running X11.
(I tried it with Wayland and it is completely broken.)

Same problem is happening with me in Google meet it is showing black screen on screen share