Start Recording via Websocket

We would like to start a recording in gather through the websocket. I see there is a startRecording method but it seems to fail due to permission errors and I can’t find a way to give it the permissions it needs. Is it possible to start a recording programatically or has that functionality been intentionally retricted?