type alias SubscribeOptions

Options for Client.subscribe.

Properties

optional
keepAliveMs: number

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.

Usage

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