Black screen
I'm using Huawei mate 10 pro with android 9.1. it's showing a black screen, I can only see the navigation bar
While a specific application is foreground, or for any?
any
Could you try to record your screen with screenrecord:
adb shell screenrecord /sdcard/file.mp4
adb pull /sdcard/file.mp4
Is the screen black on the video?
@rom1v Btw, there's no workaround for playing DRM content I suppose. Like Netflix? Blank screen is displayed.

The issue seems to be from my phone because I noticed that sometimes when I screen record from my phone it's also black unless I restart my phone. Now that I restarted my phone it worked, Thank you
How am I supposed to find the video? nothing is happening
You need to pass these parameters as command-line arguments, not write them in the console of scrcpy.
See #385.