﻿# Camera endpoint failover: revalidate physical identity and calibration behind a stable URI

Camera endpoint failover: revalidate physical identity and calibration behind a stable URI. A practical streaming-video guide with failure mechanisms, a controlled scenario, acceptance evidence and primary references.

Author: Retrivium team
Updated: 2026-11-06
Canonical URL: https://retrivium.ai/journal/sv-camera-uri-failover-calibration-identity/
Language: en

A stable camera URI starts resolving to a replacement device. The pipeline reconnects successfully but keeps geometric calibration and region rules from the previous physical viewpoint.

## The media mechanism

Endpoint continuity is not sensor or calibration continuity. A source registry must distinguish the network resource, physical-camera identity and calibration generation used to interpret detections.

## Establish the pipeline boundary

Register network endpoint, physical sensor and calibration as separate identities. A stable URI can point to a replacement camera or a changed viewpoint without changing codec or image dimensions.

Bind geometry-dependent outputs to the calibration generation used at dispatch. A valid pixel-space box may become an invalid world-space location if interpreted with a replacement sensor's calibration.

Serve a changed synthetic viewpoint behind the same endpoint and verify qualification before restoring geometry-dependent decisions. Keep ordinary connection recovery separate from approval of the new sensor relationship. Old results must retain their original camera and calibration context or be rejected by the current-scene consumer. Do not infer physical continuity from unchanged URL text, and do not silently attach historical observations to a calibration learned only after the source changed.

## A constructed failure case

Serve a differently positioned synthetic camera under the same test URI. The application must invalidate unsupported geometric assumptions even when codec, dimensions and network connectivity remain unchanged.

## A practical validation procedure

Replace a permitted fixture source behind the same endpoint while changing a known geometric marker. Verify device registration and calibration adoption before accepting world-coordinate or region-based results. Keep reconnection success separate from semantic qualification of the new viewpoint.

Keep an unchanged control and a deliberate failure case. Change the relevant setting or interruption independently, then compare observed frame identities and state transitions. Measure through recovery as well as the first error; a restarted worker can retain obsolete results or references.

## Evidence for acceptance

Keep endpoint-to-device mapping, calibration identity and geometric acceptance observations.

## Recovery and limits

A reported device identifier may itself require authentication; this fixture does not establish hardware trust.

Define whether recovery drains, discards or isolates pending frames before resuming ordinary service. Preserve compact diagnostic identities and the fixture configuration. Avoid treating a new connection or a live process as proof that previous in-flight work has finished safely.

## References and interpretation

Primary references: [GStreamer RTSP source behavior](https://gstreamer.freedesktop.org/documentation/rtsp/rtspsrc.html); [DeepStream per-frame metadata](https://docs.nvidia.com/metropolis/deepstream/9.0/python-api/PYTHON_API/NvDsMeta/NvDsFrameMeta.html).

This is a proposed operational validation, not an executed Retrivium benchmark. Documentation defines interfaces and supported behavior; the actual pipeline needs its own evidence. Repeat the check after relevant plugin, decoder, source or preprocessing changes.

## Related reading

Continue with [DROID camera identity: exterior ordinal and stereo left are different labels](/journal/fg2-droid-camera-ordinal-stereo-left-serial-association/); [Live resolution changes: invalidate inference preparation after caps renegotiation](/journal/sv-caps-resolution-change-inference-state/). Their adjacent context does not replace the specific frame-flow acceptance check described here.
