Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
# [`video-store` camera](https://app.viam.com/module/viam/video-store)

> [!WARNING]
> **This module is DEPRECATED and no longer under active development.** Video storage has moved into the [`viamrtsp` module](https://github.com/viam-modules/viamrtsp): use the [`viam:viamrtsp:video-service`](https://github.com/viam-modules/viamrtsp#configure-the-viamrtspvideo-service-video-service) model instead. This repository remains available as a Go library.

The `video-store` module brings security camera functionality to your smart machine! The module consumes a source [Camera](https://docs.viam.com/components/camera/) and saves the output as video files on disk. You can then upload video slices to the cloud using the [save](#save) command, or request the video bytes directly using the [fetch](#fetch) command.

Navigate to the [**CONFIGURE** tab](https://docs.viam.com/configure/) of your [machine](https://docs.viam.com/fleet/machines/) in [the Viam app](https://app.viam.com/).
Expand Down
4 changes: 2 additions & 2 deletions meta.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
"module_id": "viam:video-store",
"visibility": "public",
"url": "https://github.com/viam-modules/video-store",
"description": "Golang module for video storage and retrieval from a camera",
"description": "[DEPRECATED — use the viam:viamrtsp:video-service model in the viam:viamrtsp module] Golang module for video storage and retrieval from a camera",
"models": [
{
"api": "rdk:component:camera",
"model": "viam:video:storage",
"markdown_link" : "README.md#configure-your-video-store-component",
"short_description" : "A driver for storing video from a camera"
"short_description" : "[DEPRECATED] A driver for storing video from a camera — use viam:viamrtsp:video-service instead"
}
],
"build": {
Expand Down
4 changes: 4 additions & 0 deletions model/camera/camera.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ func newComponent(
return nil, err
}

logger.Warn("The viam:video:storage model is DEPRECATED and no longer under active development. " +
"Migrate to the viam:viamrtsp:video-service model in the viam:viamrtsp module: " +
"https://github.com/viam-modules/viamrtsp#configure-the-viamrtspvideo-service-video-service")

if err := checkDeps(deps, config, logger); err != nil {
return nil, err
}
Expand Down
Loading