This could have easily saved you all that trouble, as scrcpy is about a decade old.