The Backup Path That Quietly Adds a Second of Doubt to Every Incision

SRT does not use the latency you configure on the receiver. It uses the larger of the two values the peers announce during the handshake. On a surgical telepresence link, that means a backup encoder left on the library default of 120 ms decides the delay of the whole failover path. The receiver config you reviewed still says otherwise.

Why the diff looks clean

The usual change is a pull request that tightens the receiver latency on the mentoring console, and the reviewer checks it against the glass-to-glass budget. It passes, because the number in the diff is correct. The backup encoder sits in a different repository, or on an appliance provisioned from a template, so it never shows up in the diff at all, and that template almost never sets latency explicitly. On the primary path both peers were tuned together months ago. On the secondary path the handshake quietly settles on 120 ms, the stream stays clean, nothing raises an alarm, and the only place the number differs is a field that nobody reads.

What breaks when the primary drops

The failover works exactly as designed, and that is the problem: video resumes, the mentor sees the field again, and the remote surgeon starts telestrating on frames that are now several frames older than the ones the operating surgeon is looking at. The extra delay, an estimate of six to eight frames at 60 fps when the receiver was tuned tight, turns annotations into arrows pointing at tissue that has already moved under the instrument. The local team blames the network, the network team sees a healthy SRT session with zero loss, and the incident closes as transient. It comes back the next time the primary flaps, because the root cause lives in a config file nobody touched.

A check you can run before the next case

Stop asserting configured latency and start asserting negotiated latency: on every receiver, for both the primary and the backup session, pull the libsrt statistics your gateway already exposes (srt-live-transmit with JSON stats output does this, as do most commercial decoders through their stats API), extract the receiver TSBPD delay the session actually agreed on, and fail the readiness check if the backup value differs from the primary by more than one frame interval, which you should run after forcing a failover in the pre-case rehearsal, since a backup session that has never been established has no negotiated value to read.

Making it stick

Put that check in the same gate that verifies camera sync and audio, not in a dashboard someone might open. Medical device software lifecycle and risk management standards such as IEC 62304 and ISO 14971 already expect you to treat the degraded mode as a hazard path with its own verification, so a failover latency assertion slots into existing evidence rather than creating new paperwork. Use this rule: any latency parameter that SRT negotiates must be pinned on both peers and verified on the live session, never inferred from one side's config. The cost is real. Pinning the backup encoder low means it tolerates less jitter on the secondary carrier, which is usually the worse link, so you are trading recovery headroom for temporal fidelity. Whether to accept a few retransmission dropouts on the backup or a mentor who is consistently late is a clinical decision, and the surgical lead should sign off on it, not the person who merged the template.

Why not just raise the primary latency to match the backup so both paths behave the same?

You can, and some teams do for consistency, but then you spend the whole latency budget on every case to cover a failure that happens on a few of them. Matching the paths is easier to operate, while pinning both low keeps the primary sharp. In both cases the negotiated value on the live session is what you measure.

Back to TelepresenceSys · Domains

← Back to TelepresenceSys
Engineering & Architecture Brief

The Backup Path That Quietly Adds a Second of Doubt to Every Incision

SRT does not use the latency you configure on the receiver. It uses the larger of the two values the peers announce during the handshake. On a surgical telepresence link, that means a backup encoder left on the library default of 120 ms decides the delay of the whole failover path. The receiver config you reviewed still says otherwise.

Why the diff looks clean

The usual change is a pull request that tightens the receiver latency on the mentoring console, and the reviewer checks it against the glass-to-glass budget. It passes, because the number in the diff is correct. The backup encoder sits in a different repository, or on an appliance provisioned from a template, so it never shows up in the diff at all, and that template almost never sets latency explicitly. On the primary path both peers were tuned together months ago. On the secondary path the handshake quietly settles on 120 ms, the stream stays clean, nothing raises an alarm, and the only place the number differs is a field that nobody reads.

What breaks when the primary drops

The failover works exactly as designed, and that is the problem: video resumes, the mentor sees the field again, and the remote surgeon starts telestrating on frames that are now several frames older than the ones the operating surgeon is looking at. The extra delay, an estimate of six to eight frames at 60 fps when the receiver was tuned tight, turns annotations into arrows pointing at tissue that has already moved under the instrument. The local team blames the network, the network team sees a healthy SRT session with zero loss, and the incident closes as transient. It comes back the next time the primary flaps, because the root cause lives in a config file nobody touched.

A check you can run before the next case

Stop asserting configured latency and start asserting negotiated latency: on every receiver, for both the primary and the backup session, pull the libsrt statistics your gateway already exposes (srt-live-transmit with JSON stats output does this, as do most commercial decoders through their stats API), extract the receiver TSBPD delay the session actually agreed on, and fail the readiness check if the backup value differs from the primary by more than one frame interval, which you should run after forcing a failover in the pre-case rehearsal, since a backup session that has never been established has no negotiated value to read.

Making it stick

Put that check in the same gate that verifies camera sync and audio, not in a dashboard someone might open. Medical device software lifecycle and risk management standards such as IEC 62304 and ISO 14971 already expect you to treat the degraded mode as a hazard path with its own verification, so a failover latency assertion slots into existing evidence rather than creating new paperwork. Use this rule: any latency parameter that SRT negotiates must be pinned on both peers and verified on the live session, never inferred from one side's config. The cost is real. Pinning the backup encoder low means it tolerates less jitter on the secondary carrier, which is usually the worse link, so you are trading recovery headroom for temporal fidelity. Whether to accept a few retransmission dropouts on the backup or a mentor who is consistently late is a clinical decision, and the surgical lead should sign off on it, not the person who merged the template.

Technical FAQ: Why not just raise the primary latency to match the backup so both paths behave the same?

You can, and some teams do for consistency, but then you spend the whole latency budget on every case to cover a failure that happens on a few of them. Matching the paths is easier to operate, while pinning both low keeps the primary sharp. In both cases the negotiated value on the live session is what you measure.

Related Architecture Specifications (HEALTHVIGILANCE): clinicalinfra.com · healthrecognition.com · medicaldevicereporting.com

More Technical Articles on telepresencesys.com

Clinical Safety and Efficacy of Intraoperative Telementoring: Reducing Surgical Complications →SMPTE ST 2110 in the Smart Operating Room: Unifying 4K Endoscopy, PACS, and Telepresence →The Standby Surgical Video Relay on the Same Host →