Skip to content
GlassknockDocumentation
Rimward.ai

Understand the result

Read all four check results in the saved report. Each check provides different evidence about the same feed, computer, and sample.

States

StateMeaningExample
PassThe tested condition succeeded.A received H.264 frame was decoded.
FindingThe test observed a problem.The endpoint rejected the supplied viewing account.
UnknownThe available evidence is insufficient.The sample ended before reception could be verified.
Not checkedThe check was not performed.Video could not be tested after a connection failure.
Not applicableReserved for a condition that does not apply to a test.The four current checks do not emit this state.

An agent must keep these states when it explains the report. It can suggest a cause or next test, but it must label that suggestion. Missing evidence is not a pass.

Checks

Device connection

reachability checks whether this computer opened the supplied TCP connection.

A pass does not identify the service. A failure does not tell you whether the device has power or which network component failed.

Connection problems

Viewing access

access checks the response to the requested video access.

A protected feed without supplied credentials needs further access information.

Access problems

Readable video

media checks the supported media description and actual decoded frames.

A decoder dependency failure is local to this computer. Unsupported video is outside this method.

Video problems

Video reception

reception measures received media and gaps during the sample.

A packet gap above the limit is a Finding. If packets arrive within the limit but decoded frames have gaps or packet errors, the result is Unknown; the cause is not established.

A pass does not establish long-term uptime or capacity for several feeds at once.

Correct a problem and repeat

For JSON fields and measured values, read Advanced commands and structured output.

Practice without a camera

After building the preview, keep the exact feed.json example from that guide. Its .invalid address is reserved and cannot reach a camera. Run these commands separately, with unused report names:

Terminal window
./glassknock check --config feed.json --output practice-before.json
./glassknock check --config feed.json --output practice-after.json
./glassknock compare practice-before.json practice-after.json

Each check should save an incomplete report and exit with status 2. A DNS timeout can give a different lookup code. You have tested the local reporting workflow, not video reception. Do not replace the address with a real endpoint until its owner approves the test.

Full terminal example: the reserved host name does not resolve
Feed: rear-gate
Complete: false
Requested: 30 seconds
Observed: 0.00 seconds
reachability: Unknown
This computer could not resolve the supplied host name.
access: Not checked
This check did not run.
media: Not checked
This check did not run.
reception: Not checked
This check did not run.
Received packets: 0
Decoded frames: 0
Longest packet gap: 0.00 seconds
Longest frame gap: 0.00 seconds
Limit: One supplied feed, from this computer, during this test only.
Limit: H.264 over RTSP or RTSPS with TCP transport only.
Limit: A working feed does not prove recording, night visibility, intrusion detection, or future uptime.
Limit: Frame times are decoder output times; they do not measure camera latency or frame rate.
Limit: RTSP does not encrypt video. This is not a network security assessment.
Limit: Runner ID identifies the computer, not its route. Retest through the same approved receiving connection.

This output was reproduced with the example configuration. In the saved JSON, complete is false, observation_seconds is 0, and the connection code is name_lookup_failed. Read the connection guide for a real feed with this message.

The comparison should exit with status 0 and show:

Feed: rear-gate
reachability: Unknown -> Unknown (not reverified)
access: Not checked -> Not checked (not reverified)
media: Not checked -> Not checked (not reverified)
reception: Not checked -> Not checked (not reverified)

The comparison succeeded; no check established working video. These reports cannot show a repair.

Comparison

Before comparing reports, use the same feed configuration, receiving computer, intended network viewpoint, and sampling settings. Corrected approved credentials can differ; they are intentionally excluded from the fingerprint. Record any network/VPN or account changes with the repair.

Report compatibility rules

Glassknock rejects mismatched target fingerprints, runner IDs, or rules versions. The after report must start strictly later than the before report. The tool cannot detect every network or account change.

BeforeAfterInterpretation
FindingPassResolved in this repeat test.
FindingFindingPersistent problem.
PassFindingNew problem.
FindingUnknown or not testedNot reverified.
Any stateMissing or incompatible reportThe reports cannot establish a fix.
Report consistency checks

The tool also checks basic report evidence. Requested durations must be valid and match. A media or reception pass needs a positive observation duration, received packets, and decoded frames. A completed reception pass must cover the requested duration. A reception pass cannot include media decode errors or local queue drops. An incomplete after run cannot resolve a prior finding, even when one earlier step passed. These checks detect inconsistent data; they do not authenticate a hand-edited report.

“Resolved” refers to the tested condition. It does not certify the camera, the whole site, recording, or security. For example, restoring a feed to this computer does not prove the remote monitoring provider receives it.

Example: reception improves

This is an illustration, not a real-camera test. Both reports use the same receiver, feed, 30-second duration, and 3-second gap limit. The installer records an approved correction between tests.

EvidenceBeforeAfter
Connection, access, readable videoPassPass
Complete sampleYesYes
Received packets / decoded frames1,800 / 6002,000 / 750
Longest packet / frame gap5.2s / 5.2s0.8s / 0.8s
Decode errors / local queue drops0 / 00 / 0
ReceptionFindingPass

The comparison reports reception: Finding -> Pass (resolved) and unchanged for the other three checks. The repeat sample stayed within the gap limit. Neither report identifies the original cause or proves that later samples will pass.

Words used in these guides

WordSimple meaning
EndpointThe address and video path that the receiver requests.
Runner/viewpointThe computer running the test and its network position.
RTSPA protocol used to request and control a video feed.
RTSPSRTSP carried through an encrypted connection.
TCPThe connection used to carry this release’s video data.
H.264The video coding method supported by this release.
DecodeTurn received video data into frames that software can read.
GapA period without received packets or decoded frames. Reception checks both gaps.