{"name":"@deckyard/onvif","description":"IP cameras and NVRs over ONVIF: discovery, device, media streams and snapshots, PTZ, imaging and events","versions":{"0.1.0":{"version":"0.1.0","kind":"git","url":"https://github.com/deckyard/deck-onvif.git","ref":"0.1.0","commit":"6e6c535fbff850a0310537e8958fd45bdeec0e40","checksum":"","yanked":false,"license":"LGPL-3.0-only","requires":{},"engines":{"jennifer":"\u003e=0.26.0"},"capabilities":["net"],"keywords":["onvif","camera","nvr","ptz","cctv"],"description":"IP cameras and NVRs over ONVIF: discovery, device, media streams and snapshots, PTZ, imaging and events","publishedAt":"1794693579","repoId":1458173223,"repoOwnerId":346943577,"repoOwner":"deckyard"},"0.2.0":{"version":"0.2.0","kind":"git","url":"https://github.com/deckyard/deck-onvif.git","ref":"0.2.0","commit":"29821dd73d3ee674641905826d742f65cb6504d9","checksum":"","yanked":false,"license":"LGPL-3.0-only","requires":{},"engines":{"jennifer":"\u003e=0.26.0"},"capabilities":["net"],"keywords":["onvif","camera","nvr","ptz","cctv"],"description":"IP cameras and NVRs over ONVIF: discovery, device, media streams and snapshots, PTZ, imaging and events","publishedAt":"1794772095","repoId":1458173223,"repoOwnerId":346943577,"repoOwner":"deckyard"},"0.3.0":{"version":"0.3.0","kind":"git","url":"https://github.com/deckyard/deck-onvif.git","ref":"0.3.0","commit":"140a85145ce4d0a6489ec57426b9a00b9b34541e","checksum":"","yanked":false,"license":"LGPL-3.0-only","requires":{},"engines":{"jennifer":"\u003e=0.26.0"},"capabilities":["net"],"keywords":["onvif","camera","nvr","ptz","cctv"],"description":"IP cameras and NVRs over ONVIF: discovery, device, media streams and snapshots, PTZ, imaging and events","publishedAt":"1794778510","repoId":1458173223,"repoOwnerId":346943577,"repoOwner":"deckyard"},"0.4.0":{"version":"0.4.0","kind":"git","url":"https://github.com/deckyard/deck-onvif.git","ref":"0.4.0","commit":"bac95fe05eb34f37ed13b201bdfdf7e5c774453b","checksum":"","yanked":false,"license":"LGPL-3.0-only","requires":{},"engines":{"jennifer":"\u003e=0.28.0"},"capabilities":["net"],"keywords":["onvif","camera","nvr","ptz","cctv"],"description":"IP cameras and NVRs over ONVIF: discovery, device, media streams and snapshots, PTZ, imaging and events","publishedAt":"1795647862","repoId":1458173223,"repoOwnerId":346943577,"repoOwner":"deckyard"}},"readme":"# @deckyard/onvif\n\n[![test](https://github.com/deckyard/deck-onvif/actions/workflows/test.yml/badge.svg)](https://github.com/deckyard/deck-onvif/actions/workflows/test.yml)\n[![Documentation](https://img.shields.io/badge/docs-github%20pages-blue)](https://deckyard.github.io/deck-onvif/)\n[![release](https://img.shields.io/github/v/release/deckyard/deck-onvif)](https://github.com/deckyard/deck-onvif/releases/latest)\n\nIP cameras and NVRs over ONVIF™ for [Jennifer](https://jennifer-lang.dev/)\nprograms: WS-Discovery on the LAN, device information and clock, media\nprofiles with RTSP and snapshot URLs, snapshots, PTZ moves and presets,\nbrightness and focus, and events from a pull-point subscription. One client\nfor every vendor that implements the ONVIF profiles; `call` reaches any\nother operation.\n\n**[Documentation](https://deckyard.github.io/deck-onvif/)**\n\n## Install\n\n```sh\njvc add @deckyard/onvif\n```\n\nThis vendors the deck to `vendor/\u003cscope\u003e/onvif/`. Without `jvc`, unpack the\n`src/` subtree of a release archive (`\u003cscope\u003e-onvif-\u003cversion\u003e.tar.gz`) there.\n\n## Usage\n\n```jennifer\nimport \"@deckyard/onvif/\" as onvif;\n\nfor (def d in onvif.discover(3000)) {\n    io.printf(\"%s %s\\n\", $d.address, $d.name);\n}\n\ndef cam as onvif.Device init onvif.connect(\n    onvif.device(\"http://192.168.1.64/onvif/device_service\", \"admin\", $password));\nfor (def p in onvif.profiles($cam)) {\n    io.printf(\"%s %s\\n\", $p.name, onvif.streamUri($cam, $p.token).address);\n}\nfs.writeBytes(\"snapshot.jpg\", onvif.snapshot($cam, onvif.profiles($cam)[0].token));\n```\n\nRequests are signed with a WS-Security PasswordDigest built per request on\nthe camera's clock (the password never travels); HTTP Digest is answered\nwhere a camera asks for it. Plain `http` is allowed to private, link-local\nand loopback addresses; anything else needs `withPlainHttp`.\n\n## Requirements\n\nJennifer 0.28.0 or newer and the capability `net` (SOAP over HTTP, WS-Discovery\nover UDP), so not `jennifer-tiny`. No other deck. RTSP and video decoding are\nout of scope: the deck returns the stream URLs.\n\n## Development\n\n```sh\ntools/check-all.sh                   # the full gate, as CI runs it\njennifer test src/onvif_test.j       # the test overlay (a loopback fake camera)\ntools/check-docs.sh                  # docs against the code\ntools/pack.sh dist                   # build the release archive\n```\n\n## Licence\n\nLGPL-3.0-only, see [LICENSE](LICENSE). Copyright (C) 2026 mplx \u0026lt;mplx@jennifer-lang.dev\u0026gt;.\n\n## Trademarks\n\nONVIF™ is a trademark of ONVIF, Inc. Hikvision™ is a trademark of Hangzhou\nHikvision Digital Technology Co., Ltd. EZVIZ™ is a trademark of Hangzhou\nEZVIZ Network Co., Ltd. Dahua™ is a trademark of Zhejiang Dahua Technology\nCo., Ltd. Axis™ is a trademark of Axis AB. Other product and company names\nmay be trademarks of their respective owners. They are used only to identify\nthe products this deck works with. This deck is an independent project, not\naffiliated with, sponsored or endorsed by ONVIF, Inc. or any camera vendor.\n"}