In the desktop application, you can use the keyboard shortcuts to control the screen recording. The provided keyboard shortcuts are:
Start or Stop recording
Mac option
+ shift
+ E
Windows & Linux alt
+ shift
+ E
Pause or Resume recording
Mac option
+ shift
+ K
Windows & Linux alt
+ shift
+ K
Restart recording
Mac option
+ shift
+ F
Windows & Linux alt
+ shift
+ F
Discard recording
Mac option
+ shift
+ D
Windows & Linux alt
+ shift
+ D
If you like to use shortcuts of your choice, you can do that from Settings -> Keyboard shortcuts