- EN
- CN
A pet camera can lose its internet connection while it still sees the pet, runs its detector, and records to local storage. It can also show as online while the live view is several seconds behind. For brand product managers, engineers, and technical buyers, the practical question is what the camera and app should do in each state and how a supplier will prove it. Define pet camera offline functionality in terms of individual capabilities, their dependencies, and the evidence required for acceptance.
On a weak wide area network (WAN), the camera can still reach internet services, but upload capacity or timing varies. During a WAN outage with the local area network (LAN) up, the camera and phone can still communicate locally if the app supports direct access. A powered camera that loses Wi-Fi loses that local path too, assuming Wi-Fi is its only network interface. During a cloud outage, the internet connection can be healthy while a specific service fails. An authentication outage may block new sessions, while an upload outage may leave live view working. Test each cloud dependency separately.
The matrix describes a reference design for an already configured, powered camera. It assumes a provisioned on-device model, usable local storage, and a direct LAN mode that can authorize a previously paired phone without a cloud request.
| Function | Baseline dependency | Weak WAN | WAN down, LAN up | Camera off Wi-Fi | Reconnect |
|---|---|---|---|---|---|
| Remote live view | Working remote path and valid session | Adapt bitrate or report interruption | Unavailable | Unavailable | Restore session and show a fresh frame |
| LAN live view and replay | Reachable camera and local authorization. Replay needs saved media. | Available over a healthy LAN | Available to authorized LAN clients | Unavailable over the network | Rediscover camera and refresh the clip list |
| On-device detection | Power and a provisioned local model | Continues locally | Continues locally | Continues locally | Keeps detecting while records sync |
| Local recording | Power, writable storage, and recording enabled | Records locally | Records locally | Records locally | Keeps recording under the retention policy |
| Cloud uploads | Reachable ingest service and valid credentials | Throttle clips and queue pending items | Queue within local limits | Queue within local limits | Reconcile partial uploads and pace backlog |
| Push notifications | Event reaches cloud and phone can receive push | May arrive late | New events cannot reach the push service | New events cannot reach the push service | Alert on fresh events and apply the late-alert policy |
Characterize a weak link using sustained available upload and download throughput, delay, jitter (variation in packet arrival timing), and burst loss (consecutive packet drops). Track usable throughput in each direction and record round-trip time under load. Two links can have the same average loss rate while delivering very different live video if one drops packets in bursts. At the camera, measure how long data sits in the send queue. At the app, measure time to first frame, frame age, and freezes.
Give session control and fresh event metadata priority over bulk clip transfers. Pace or pause background uploads to free capacity for an active live session. If live video still cannot stay fresh, reduce bitrate, frame rate, or resolution according to the product’s priorities and discard stale frames. Allow capacity to stabilize before increasing quality again. Tune the trigger points, minimum usable quality, and recovery timing for the project’s encoder, transport, and expected home networks. See RFC 8836 for interactive media congestion control requirements.

First-time setup may require online account enrollment, device pairing, or a model download. Test initial setup separately from a configured camera losing connectivity. Check whether the app can reopen a LAN session after it restarts and what happens when its local authorization expires. Keep cloud credential refresh separate from the rules for local recording, inference, and viewing. Verify power and storage independently. A power cut stops capture without backup power, and a full or failing card can leave detection running while clips become unavailable.
Write pending events to a bounded, persistent outbox with a stable event ID for each occurrence. Keep clip state separate from metadata so the timeline can show that an event occurred even when its clip is pending, overwritten, or unavailable. Set explicit limits for bytes, record count, and age. Define what gets overwritten first, how much storage is reserved for new captures, and how evictions appear in the app or logs. Exercise those rules under a representative event rate and clip size. A reboot should preserve committed events and their pending sync state.
Keep the original occurrence time, the actual send time for each attempt, and the time the app displays the item. Record whether the device wall clock was synchronized and use a monotonic clock for elapsed time within a boot. Clock drift and time corrections can otherwise create misleading timeline order or latency. Preserve the original timestamp and mark uncertain time in the record. Use a device sequence or comparable ordering field when wall-clock ordering is unreliable.
On reconnect, retry with backoff and the same event ID so the server can acknowledge repeated requests without creating extra timeline entries or re-running alert logic. After a timeout, check whether the server committed the metadata or received any clip bytes. Resume a verified partial transfer when supported, or restart it under the same event ID and verify the completed object before clearing the upload record. Serve new events first and drain older items at a rate the link can sustain. Agree on an alert age limit. If older activity remains available in the timeline, preserve its occurrence time and decide whether to show it silently or send a single summary.
Start pet camera weak network testing with a clean baseline. Record the firmware, app and backend versions, stream settings, storage state, event source, and exact fault schedule. Keep the camera and test phone on a known LAN for local checks, with cellular data off on that phone. Use a second phone on an external network for remote viewing and push. Generate repeatable events with a logged stimulus and synchronize the test instruments.
For an illustrative lab sequence, cap camera WAN traffic for five minutes at 256 kbps upstream and 1 Mbps downstream. In separate runs add 150 ms of one-way delay with jitter bounded to ±40 ms, then introduce a 300 ms packet drop window every 10 seconds with a fixed phase. Run the faults together after isolating their effects. Cut WAN routing while preserving LAN switching and Wi-Fi, then restore it. In a separate run, disconnect camera Wi-Fi while keeping power on. Return a controlled error from one cloud dependency while other services remain reachable. Record where each fault is applied, its direction, and its start and stop times. Repeat with combinations such as WAN loss followed by a camera reboot, near-full storage, or expired cloud credentials. Use project-specific profiles and pass limits.
Detection, recording, and sync. For each stage, calculate 100 × unique eligible test events that reach that stage by its deadline ÷ all events eligible for that stage. Set eligibility from the test stimulus and agreed policy before the run. Report missed events, expected evictions, and duplicate records separately.
Fresh event latency. For events generated once service is available, measure occurrence to app display. Report the median, 95th percentile, and the number that miss the deadline.
Time to first fresh frame. From the defined restoration marker for a reconnecting session, measure to the first displayed frame captured after restoration. For a new viewing session, measure from the request and require a frame captured after that request.
Backlog and notifications. Measure time to reconcile retained outage events separately from time to make current ones visible. Count late or duplicate alerts and compare eligible alerts with those observed on the phone. Push-provider acceptance and receipt on the phone are separate observations.

Use the matrix to specify the expected behavior for each app and firmware combination when reviewing the Videostrong pet AI camera and AI algorithm modules. Ask suppliers to document which functions they can demonstrate on the proposed hardware and storage configuration.
A: A previously paired phone can use a supported LAN mode if both devices remain reachable on the same local network and local authorization is valid. Viewing from outside the home requires a working remote path.
A: It can continue recording if it has power, a local recording mode, and writable storage. If recording is event-triggered, the detector must also be able to run on the device.
A: Delivery depends on retention, the alert age limit, and whether the phone can receive push. A retained event can appear in history even when its alert has aged out or the clip has been overwritten.
Request the network failure test sheet and discuss your architecture.
Copyright © 2011-2026 Videostrong Technology Co., Ltd. All Rights Reserved 粤ICP备17154177号