Control is granted to users who wait in a queue to control the camera.
As a site administrator, you always turn off access to the camera by going to the admin settings and turning off access. Look at the source of this page to see the exact syntax. This allows the browser to continue accepting streaming video without changing the contents of the page that was clicked in. To make those commands available in HTML, just remove the asterisk. Your own AppleScripts can be added and embedded into any HTML page that the SiteZAP server has access to.