Dominevo
ReferenceDevice capabilities

osd

Generic on-screen-display (video overlay) cap.

Generic on-screen-display (video overlay) cap. Each camera exposes a firmware-defined list of overlays (channel name, timestamp, watermark, logo, …); the cap models them as a homogeneous array of descriptors so the admin UI can render them with zero per-firmware code.

At a glance

Capabilityosd
Provided byThe device's own driver provides it: each device registers its own provider.
Active providers per deviceone
Device typescamera
Sourcepackages/types/src/capabilities/osd.cap.ts

Methods

Every method takes the device id (deviceId) to address the device; the input tables below list the other fields.

MethodKindRequired of a providerAccess
setOverlaymutationyesadmin

setOverlay

mutation

Patch a single overlay by id. Provider handles read-modify-write against firmware APIs that require the full object (Reolink SetOsd). Omitted patch keys are preserved. Successful completion triggers onStatusChanged.

Input

FieldTypeRequiredDescription
overlayIdstringyes
patch{ enabled?: boolean; text?: string; position?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | "custom" }yes

Output

Nothing.

Status

FieldTypeRequiredDescription
overlays({ id: string; kind: "text" | "timestamp" | "watermark"; enabled: boolean; text?: string; position?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | "custom"; availablePositio…yes

Events

onStatusChanged

FieldTypeRequiredDescription
deviceIdnumberyes
status{ overlays: ({ id: string; kind: "text" | "timestamp" | "watermark"; enabled: boolean; text?: string; position?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right" | "custom"; avai…yes