variable aiyuvCfg

Codec for <AIYUVCfg>.

Examples

Build a cmd 720 request

import { assertStringIncludes } from "@std/assert";
import { aiyuvCfg } from "@hertzg/reolink-api/protocol/params";

const xml = aiyuvCfg.encode({
  needTLV: 1,
  gapms: 100,
  resoWidth: 640,
  resoHeight: 360,
  algorithm: 0,
});

assertStringIncludes(xml, "<resoWidth>640</resoWidth>");

Type

XmlParam<"AIYUVCfg", AiyuvCfg>

Usage

import { aiyuvCfg } from "protocol/params/mod.ts";