How to allow screen recording on MacBook

If you are using a Mac you need to allow screen recording in your system preferences. As well as the  camera and microphone  in the chrome browser.
Go to your System preferences > Security and privacy and allow Google Chrome for your camera, microphone, and screen recording.