how to screen share on discord

This can cause the Discord screen to share a black screen. One of the recent updates can have caused the issue and stopped the working of the screen share feature.