property Client.snapshot

Takes a JPEG snapshot of the main (default) or sub stream. Needs a login.

Type

(options?: ChannelOptions & { stream?: "main" | "sub"; }) => Promise<Uint8Array>

Usage

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