﻿# RTP SSRC changes: reconcile transport source identifiers with camera identity

RTP SSRC changes: reconcile transport source identifiers with camera identity. 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-rtp-ssrc-change-source-registry/
Language: en

A media receiver keys all camera state by SSRC. A sender restart or collision-related change creates another SSRC, while a reused identifier can accidentally inherit state from a different transport source.

## The media mechanism

SSRC identifies an RTP synchronization source within protocol context, not an immutable business identity for a physical camera. The application must preserve the mapping and react to source lifecycle changes.

## Establish the pipeline boundary

Scope SSRC interpretation to the RTP session and receiver registry. It is a protocol source identifier, not a durable asset serial number. Source changes and collisions require lifecycle handling under the RTP contract.

Keep an explicit mapping from the registered physical camera to transport session, accepted source and application epoch. A changed SSRC may reflect a sender restart rather than replacement of the camera; a repeated value in a new context does not prove continuity either.

Test both cases with isolated permitted streams. Inspect when the receiver creates, validates and retires source state, then verify downstream tracker and clock ownership. Avoid transferring prior state solely because an integer matches. Conversely, do not delete historical business-camera identity merely because transport identity changed. Record the lifecycle evidence supporting any continuity decision.

## A constructed failure case

Present equivalent camera fixtures under a changed transport identifier, then reuse an earlier identifier in a new session. The registry must follow explicit lifecycle evidence rather than treating either change as proof of physical continuity.

## A practical validation procedure

Exercise a source restart and deliberate source-identifier transition in an isolated fixture. Inspect the receiver source registry and reset or reconcile dependent state. Keep physical-camera registration separate from transport identifiers and session epochs.

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 the camera-to-session-to-SSRC mapping and state-reset decisions.

## Recovery and limits

An SSRC association is not camera authentication; transport identity and authorization remain separate.

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: [RTP and RTCP protocol specification](https://www.rfc-editor.org/rfc/rfc3550.html); [RTSP2 transport and session contract](https://www.rfc-editor.org/rfc/rfc7826.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/); [RTSP reconnection: start a new frame-identity epoch before accepting detections](/journal/sv-rtsp-reconnect-frame-identity-epoch/). Their adjacent context does not replace the specific frame-flow acceptance check described here.
