setEnabled

Turns live streaming on or off and saves the choice across robot restarts.

Turning it off closes the server and unbinds port.