PHYSICAL INTELLIGENCE · IoT SECURITY

A live-view camera platform with no third party in the video path

A self-hosted peer-to-peer streaming stack with per-device PKI, built for an Indian camera OEM selling into government and industrial deployments. A clause-level route to STQC certification, not a questionnaire. The same foundation satisfies EN 18031 in Europe.

Camera fleet · STQC IoTSCS-P01self-hosted
How many third parties sit between my cameras and the viewer app?
C
Zero in the media path. Signaling, STUN, TURN and media ingress all run on OEM infrastructure. ECDSA P-256 per device issued by the internal CA. [SRTP · DTLS] [WebRTC direct · relay observable]
STQC-ready18 + 3 clauses assessed · 7-step path to submission
Third parties in media path
Zero
Certificate per camera
ECDSA P-256
STQC clauses in scope
18 + 3
EN 18031
Same foundation
Industry
IoT Security · Video Platform
Client
Indian camera OEM (anonymised)
End markets
Indian government & industrial (STQC); European (EN 18031)
End users
OEM product & security engineering, OEM compliance leadership, integrator engineers, end-customer security teams
The Problem

Where the pain concentrates

An OEM selling into Indian government and industrial deployments does not have a product problem. They have a certification problem. STQC IoTSCS-P01 is enforced before a connected device can be sold, not after. A camera that works beautifully cannot be purchased by the buyer who wants it unless it clears certification first, and licensing a third-party P2P SDK makes the trusted-source question permanently unanswerable.

01

Certification gates the sale

STQC is enforced before a connected device can be sold, not after. A device not assessed cannot be purchased, however good it is.

02

Licensed P2P is a supply-chain problem

A third-party SDK puts someone else in the connection path permanently and makes the trusted-source question unanswerable, because the OEM cannot verify what sits between the camera and the viewer.

03

Shared secrets fail key management

The clauses ask for per-device uniqueness and a documented lifecycle. A fleet-wide credential is an architectural decision, not a config value. One leaked key compromises the whole fleet.

04

NAT decides whether video arrives

Carrier-grade NAT and factory networks behave nothing like a home router. Fallback has to be deliberate and observable, so operators know when a camera is sitting on a relay.

Design Decisions

What the architecture commits to

“The OEM goes into the accredited lab's evaluation with a clause map, not a hope.
“Zero third parties in the media path. The engineering is right. The copy should be exact.
“The architecture built for the Indian market does not need to be rebuilt for the European one.
Our Approach

Self-hosted end to end, certifiable by assessment

The platform is operated end to end on infrastructure the OEM owns. WebRTC peer-to-peer for the media path, with TURN relay only when the network blocks a direct path. ECDSA P-256 per-device identity, issued by an internal CA at provisioning. No licensed P2P service. No third-party SDK in the firmware or the app.

Control plane, media plane and PKI travel separate paths. The signaling service exchanges session descriptions and never carries video. Certificate issuance sits behind the backend rather than being exposed to the public internet. Connection state is tracked apart from provisioning state, so an offline camera and an unconfigured camera read differently in the dashboard.

STQC IoTSCS-P01 is assessed clause by clause, from code and configuration rather than a questionnaire. 18 platform-level and 3 device-level clauses are in scope. 6 covered at first pass. A 7-step effort-sized path for the remainder. The OEM walks into the accredited lab's evaluation with a clause map, a code trail and a running system, not a promise.

Zero
Third parties in the media path

Signaling, STUN, TURN and media ingress all run on OEM-operated infrastructure. The OEM can answer the trusted-source question with the deployment diagram in hand.

Self-hosted signaling, TURN and media
ECDSA P-256 per-device identity
Direct P2P with observable relay fallback
Split control, media and PKI planes
Signed, anti-rollback OTA
STQC + EN 18031 shared foundation
What We Built

Five building blocks, one certifiable stack

Each block carries a specific job between the camera at the site and the viewer app, with the trusted-source question answerable at every layer. Together they make clause-level STQC assessment possible from code and configuration.

Self-hosted signaling, TURN and media

Signaling, STUN, TURN and the media ingress all run on infrastructure the OEM operates. No licensed P2P service. No third-party SDK in the firmware or the app. The OEM can answer the trusted-source question with the deployment diagram in hand.

Per-device certificate identity

Each camera carries its own ECDSA P-256 key pair, generated on the device, and a leaf certificate issued by an internal CA at provisioning. No two cameras share a credential. A compromised unit is revocable on its own without touching the rest of the fleet.

Direct P2P, relay on fallback

WebRTC negotiates a direct path first. The TURN relay engages only where the network blocks it. Connection mode is surfaced in the app, so relay usage is measurable rather than assumed. The common case stays cheap. The hard case still works.

Split control and media planes

The app, the backend, the signaling service and the media route are independent at the ingress, each with its own middleware. Media never transits the signaling service. Certificate issuance sits behind the backend. A compromise of one plane does not propagate.

STQC-ready, by assessment not by claim

The platform is assessed against STQC IoTSCS-P01 clause by clause, from code and configuration rather than a questionnaire. 18 platform-level and 3 device-level clauses in scope. 6 covered at first pass. A 7-step effort-sized path to submission for the remainder.

01

Provision

Operator scans a QR code at the camera. The camera generates its own key pair and receives a scoped-lifetime leaf certificate from the internal CA.

02

Register

The device registers with the OEM backend. Device identity and registry record are linked by the certificate.

03

Request

The viewer app authenticates against the backend, receives TURN credentials and initiates the signaling exchange.

04

Negotiate

The signaling service exchanges SDP and ICE candidates. A direct path is tried first.

05

Stream

When the network permits, media flows peer-to-peer over SRTP, encrypted by DTLS-SRTP. No third party sees the frames.

06

Fall back

When CGNAT or firewalls block the direct path, the TURN relay engages. The app surfaces the connection mode so operators see it.

07

Observe

Connection state and provisioning state are tracked apart. The dashboard distinguishes offline from unconfigured.

08

Update

OTA updates are signed, anti-rollback, and delivered through the OEM-operated channel. The STQC OTA clause group is handled end to end.

FIG · PROVISION-TO-STREAM FLOW
WebRTCSRTP · DTLS-SRTPcoturn (STUN / TURN)MediaMTX · WHIPECDSA P-256Internal CA servermTLS on :443PostgreSQLRedisSignaling serviceREST + WSSSTQC IoTSCS-P01EN 18031
Outcome

Before, delivered, basis

DimensionBeforeDeliveredBasis
Media path ownershipThird-party P2P modelFully self-hostedArchitectural
Device credentialNot establishedECDSA P-256, per deviceCode review
STQC clauses assessedUnassessed18 + 3 device-levelAug 2026
Clauses covered at first passn/a6Aug 2026
Open items, effort-sizedOpen-ended7-step pathAug 2026
0
Third parties in the media path
1 : 1
Certificate per camera
18 + 3
STQC clauses in scope
Same
Foundation for EN 18031
Zero third parties in the media path. One certificate per camera. STQC IoTSCS-P01 assessed from code and configuration, not from a questionnaire. 18 platform-level and 3 device-level clauses in scope. 6 covered at first pass. A 7-step effort-sized path for the remainder. The same foundation satisfies EN 18031 in Europe.

Performance figures pending instrumented measurement. Capability and compliance outcomes above; not audited financial ROI. STQC-ready position as assessed. Certification is issued by an accredited lab following evaluation.

On the Roadmap

Extending the certifiable surface

01

Instrumented performance measurement

Latency to first frame, direct vs relay ratio by site profile, SRTP throughput under representative CGNAT conditions, reported on the same dashboard operators already use.

02

Clause-covered OTA automation

Full signing, anti-rollback and delivery lifecycle automated and documented against the STQC OTA clause group, with evidence auto-captured per update.

03

Hardware root-of-trust binding

Bind the ECDSA P-256 key to a secure element on the camera, so the device identity cannot be lifted off a compromised unit even with disk access.

04

EN 18031 submission package

Extend the clause map and evidence set from STQC to EN 18031, delivered as a submission-ready package for European market entry.

05

Multi-OEM pattern

Package the self-hosted stack and the compliance assessment service for other Indian camera OEMs facing the same STQC gate.

06

Edge inference channel

Separate inference traffic from live view traffic, with its own policy and observability, so AI features do not share a plane with control or media.

What We Learned

Three principles we are taking into the next engagement

01

Certification is an architecture question, not a questionnaire

STQC asks for per-device identity, signed updates, anti-rollback and split planes. These are decisions you make before you write the firmware, not clauses you answer after. Clause-level assessment from code and configuration is the only credible path.

02

Shared secrets are a liability by design

A fleet-wide credential makes every compromise a fleet-wide compromise. ECDSA P-256 per device, issued by an internal CA at provisioning, with revocation at the unit level, is what the clauses actually require and what the architecture should enforce.

03

Fallback has to be observable

A direct P2P path that silently fails over to relay without surfacing it in the app leaves operators guessing. Making connection mode visible turns relay usage into a measurable, cost-aware operational variable rather than a mystery.

Shipping a connected product into a certification-gated market?

ScroBits assesses running systems against STQC IoTSCS-P01 clause by clause, from code and configuration rather than a questionnaire, and hands back an effort-sized path to submission. Talk to our IoT security engineers.

Start a conversation