Uses NGINX-RTMP control endpoints (GET). Make sure your server exposes /control/* and CORS is allowed for this origin.
ON action: If your encoder (OBS, etc.) auto-reconnects, stream will come back after OFF. If you need a true "ON" (start a pull or ffmpeg push), wire the /control/pull/start (if available) or a custom webhook; set its URL below and the button will call it.