property SubscribeOptions.keepAliveMs

How long the connection may stay silent before the client pings the camera, in milliseconds. If a second interval passes with nothing from the camera, the event stream errors. Defaults to 30_000.

Type

number

Usage

import { type SubscribeOptions } from "client.ts";