Reliability and operations · 08/20

Main/Substream Switching: Keep the Grid Fast and Detail Sharp

Use the substream for overview, promote one camera to the main stream on demand, and make the transition observable.

Target question: RTSP automatic main substream switchingResearch checked: 2026-09-11

Direct answer

Open low-bitrate substreams for the grid and switch only the selected camera to its main stream. Keep both profile mappings explicit and fall back gracefully if the main stream fails.

Why this happens

Always decoding every main stream wastes bandwidth and hardware capacity. Closing every substream before a main-stream switch can also create blank gaps and slow user feedback.

Reliable camera viewing depends on bounded retries, observable health and a deliberate main/substream policy.

A controlled test

Test switch time, audio behavior, camera session limits and recovery when the high-quality profile is unavailable.

Change one variable at a time. Keep the camera model, firmware, endpoint and account recorded; then test network reachability, protocol response, media transport and decoding as separate layers.

Use a dedicated view-only account and a trusted local diagnostic tool. Redact credentials, private addresses and identifying data before sharing output.

Diagnostic sequence

CheckActionEvidence of progress
MappingStore verified main and substream profile pairs.Each camera switches to the intended resource.
Warm pathDecide whether to overlap streams briefly during switch.The transition avoids an unnecessary blank period.
CapacityLimit simultaneous main-stream promotions.The device stays within decode and network budgets.
FallbackReturn to substream on main-stream failure.The camera remains visible with clear quality state.

Evidence to keep

Measure time to first high-quality frame and time to recover to the grid. Include decoder and session-count effects.

Boundary and safety note

Do not imply that a low-quality grid is suitable for identification or evidence; promote and record the appropriate stream when detail is required.

For remote viewing, use a managed VPN instead of exposing RTSP or camera administration ports directly to the public internet.

SmartRTSP

SmartRTSP is a camera-focused RTSP and ONVIF viewer for Apple devices, Windows and Android. It fits direct viewing, discovery and multi-camera checks; keep a dedicated NVR or VMS when continuous recording, evidence export or centralized enterprise controls are required.

Frequently asked questions

Should all grid tiles use substreams?

Usually yes for scale, provided the resolution remains adequate for the overview task.

Can switching open two camera sessions briefly?

It may, depending on implementation, so camera session limits must be tested.

What happens if the main stream is H.265?

The target device must support it, or the switching policy should select a compatible profile or gateway.

Primary references

Related SmartRTSP guide

Open related guide

Use the substream for overview, promote one camera to the main stream on demand, and make the transition observable.