Table of Contents

VCIC (Orlaco IP) Cameras

VCIC cameras are Orlaco EMOS IP cameras that follow ISO 17215 (Video Communication Interface for Cameras). They stream H.264 over RTP/UDP and are controlled out of band over SOME/IP. There is no local capture node and no driver bring-up; instead each camera has to be commissioned once, and the application checks which cameras are present before playing them.

VCIC is supported on the OpenView Pro (P100), which declares four VCIC ports.

Table of Contents

The Basic Model

The Network

Commissioning

The Commissioned Model

Gating the UI with GetVcicStatus

What Play and Stop Do

Render Size and Stream Quality

The Pipeline

The Basic Model

The same PlayVideo / StopVideo you use for GMSL, plus one gate:

VcicStatus status = client.GetVcicStatus();
if (!status.HostNetworkReady)
    return;                                    // display is not on the camera subnet

var present = status.Cameras.Where(c => c.Present).Select(c => c.Source).ToHashSet();

foreach (var player in client.GetVideoPlayers().Players
             .Where(p => p.InputType == InputType.VCIC && present.Contains(p.VideoSource)))
{
    client.PlayVideo(new VideoPlaybackRequest { VideoPlayerID = player.VideoPlayerID, StatusUpdateInMs = 1000 });
}

The cameras appear at the surfaces declared in your screen configuration. That is a complete VCIC integration; the demo's VcicSimpleExample.cs is exactly this. Everything else on this page is background, and the promote/quad layout in the demo is optional application-side polish.

The Network

The display must be on the camera subnet at 192.168.40.100/24. The extension does not set that address — the package's network configuration does:

"networkConfiguration": {
  "updateEthernetConfiguration": true,
  "fetchDhcp": false,
  "ethernetAddress": "192.168.40.100/24"
}

The cameras share power with the board, so on a cold boot the interface can still be coming up when the application first plays a camera. Each VCIC PlayVideo waits up to ten seconds for the address to be live before talking to the camera; once it is up, the wait costs nothing.

Commissioning

Factory-fresh Orlaco cameras all share one IP address (192.168.40.90) and broadcast MJPEG at boot. Commissioning gives each camera a unique address, points its video at this display, loads the H.264 quality ladder, and makes it silent until subscribed. It is a one-off, by-hand step per display, done over SSH when the cameras are fitted — not something your application does.

The tool ships with the extension and is installed into the application's AhsokaLib/ folder on the display:

bash /usr/local/Ahsoka/current/AhsokaLib/orlaco-commission.sh <status|verify|commission|factory>

It is self-contained bash plus python3 (someip.py), and needs arping, ip and tcpdump, all present on the OpenView Pro image.

Commissioning is two-phase, split across a power cycle:

# Step What happens
1 status Confirms the display is at .100 and the factory cameras are present at .90
2 commission Phase A — finds every factory camera and writes it a unique address and silence, blind. Prints written per camera.
3 Power-cycle The cameras come back quiet at .91–.94
4 commission Phase B — confirms the address and writes the ROI ladder, each write read back. Prints confirmed per camera.
5 verify Expect 4 of 4 slots verified
Warning

Cameras and board share power, so every power cycle reboots the display too and your SSH session drops. Wait for it and reconnect. Link-up takes about 10 seconds normally and about 45 while factory cameras are flooding the network.

Warning

Never run Phase A twice without a power cycle in between. The cameras are all still at .90, so a second pass reassigns addresses from .91 and can collide.

The write is blind in Phase A because, under the factory MJPEG flood, the replies that confirm a write are dropped even though the write lands. The "silent at boot" register only takes effect on the next boot, which is why the two phases are separated by a power cycle.

factory returns commissioned cameras to their factory state. It is for bench work only.

While the tool is talking to the cameras it holds /run/vcic-commissioning.lock, and GetVcicStatus backs off completely — it reports nothing present and does no camera I/O — so a running application never contends with commissioning.

The Commissioned Model

Commissioning produces a fixed model, and the extension's endpoint table matches it:

Port Camera IP RTP port SOME/IP control
VCIC0 192.168.40.91 50004 17215
VCIC1 192.168.40.92 50005 17215
VCIC2 192.168.40.93 50006 17215
VCIC3 192.168.40.94 50007 17215

Cameras are assigned to slots in sorted MAC order, so the mapping is deterministic.

Each camera carries an ROI ladder — four regions of interest, all 1280×960 at 30 fps H.264, differing only in bitrate:

ROI Bitrate Used for
1 (LOW) 8 Mbps Reserved; never selected
2 (MID) 12 Mbps Small tiles — the default
3 (HIGH) 24 Mbps Large tiles
4 (MAX) 40 Mbps Reserved; too heavy to run four at once

Gating the UI with GetVcicStatus

GetVcicStatus() returns a VcicStatus:

Member Meaning
HostNetworkReady 192.168.40.100 is assigned to an interface that is up
Cameras Always four entries, one per slot
Cameras[i].Number Display number, 1–4
Cameras[i].Source VCIC0 … VCIC3 — matches a player's VideoSource
Cameras[i].Present The camera answers a ping and carries the commissioned ROI ladder

"Present" is deliberately stricter than reachable. A factory camera, or one that has only been through Phase A, answers at its address but cannot stream correctly yet, so it is reported absent.

Tip

GetVcicStatus() does network I/O — a ping and two SOME/IP reads per camera, each with a short timeout, all four cameras at once — so with cameras missing it takes about half a second. Call it off the UI thread. The demo polls it every two seconds from a background task while the home page is showing.

On the desktop the probe still runs, but the camera subnet is normally absent, so expect HostNetworkReady = false.

What Play and Stop Do

Play = SOME/IP Subscribe:

  1. Wait (up to 10 s) for the camera-subnet address.
  2. Read the camera's video destination MAC. If it points at a different display — the camera was commissioned elsewhere — rewrite it to this display's NIC. This is the only setting Play ever writes, and only when it is wrong.
  3. Space this start at least 300 ms after the previous VCIC start, so the hardware decoders do not all initialise at once.
  4. Subscribe the ROI chosen from the requested render size (see below).
  5. Launch the receive-and-decode pipeline.

If the camera does not answer the subscribe, the player reports Unavailable and no pipeline is launched.

Stop = SOME/IP UnSubscribe, then shut down the decoder. Unsubscribing first means no new RTP arrives while the decoder drains, so the drain finishes in milliseconds.

Cameras stream nothing until subscribed, so an idle VCIC player costs no network bandwidth.

Render Size and Stream Quality

For VCIC, the render size you ask for drives two things at once:

Effect
GPU downscale The decoded 1280×960 frame is scaled to the render size before it reaches the compositor
Stream tier A render width of 520 or less (or unset) subscribes ROI 2 (MID); anything wider subscribes ROI 3 (HIGH)

The render size comes from VideoPlaybackRequest.RenderWidth / RenderHeight when both are set, otherwise from the player's configured renderWidth / renderHeight, otherwise native. The tier is chosen from the request's RenderWidth only.

Rendering at the on-screen size rather than native is what lets four feeds run near full frame rate at once. The demo configures every VCIC player at 464×348 — its quad tile size.

A surface cannot be resized in place, so changing a camera's size is a StopVideo followed by a PlayVideo with the new size. The tile goes black for about a second while the pipeline relaunches. See Rendering & Surfaces.

The Pipeline

udpsrc port=50004 buffer-size=2097152
  ! application/x-rtp,media=video,clock-rate=90000,encoding-name=H264,payload=96
  ! rtpjitterbuffer latency=50 drop-on-latency=true ! rtph264depay ! h264parse
  ! v4l2h264dec capture-io-mode=4
  ! queue leaky=downstream max-size-buffers=3 max-size-time=0 max-size-bytes=0
  ! glupload ! glcolorconvert ! glcolorscale ! video/x-raw(memory:GLMemory),width=464,height=348
  ! glimagesink sync=false

The socket buffer and jitter buffer are both deliberately small. The streams are all-intra on a short camera LAN, so it is better to drop a late frame cleanly than to buffer seconds of backlog and fall behind live. The scaling stage is omitted when no render size is set.