Files
agent/machinery
cedricveandClaude Opus 5.5 33cc8a46ed mqtt: keep commas that are part of a single broker URI
Splitting the MQTT URI on every comma broke previously valid single-broker
URIs with commas in the query string, credentials or path (for example
wss://broker/mqtt?token=a,b). A comma now only separates brokers when the
text after it starts with a URI scheme ("scheme://"); other commas stay in
the current broker URI. Adds regression cases for these URIs.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 20:06:08 +00:00
..
2026-06-12 11:54:16 +02:00
2021-01-05 22:08:04 +01:00
2020-12-31 13:47:48 +01:00

Kerberos Open Source - Machinery

Kerberos Agent Kerberos Agent Twitter Widget Kerberos.io

PkgGoDev Coverage Status Coverage Status

License: MIT donate

Docker Hub | Documentation | Website

Kerberos Open source (v3) is a cutting edge video surveillance management system made available as Open Source under the MIT License. This means that all the source code is available for you or your company, and you can use, transform and distribute the source code; as long you keep a reference of the original license. Kerberos Open Source (v3) can be used for commercial usage (which was not the case for v2). Read more about the license here.

Security reporting

For sensitive vulnerabilities, use private disclosure channels documented in ../SECURITY.md.

WebRTC startup and keyframe recovery

Each H264 viewer waits until its WebRTC transport is connected and a fresh IDR arrives before receiving video. Reconnects, viewer PLI/FIR feedback, and a full per-viewer sample buffer reset that viewer's keyframe gate without stalling other viewers. Audio continues to use the existing independent sample queues. Each viewer's skipped and discarded video durations advance its RTP clock before recovery, without sending filler packets, so an IDR wait does not compress the video timeline relative to audio.

The main and sub streams request keyframes from their own RTSP sources. Viewer PLI and FIR feedback is translated into an RTSP PLI using the camera session's SSRCs, never forwarded with the browser's SSRCs. Requests are coalesced and limited to one per second per broadcaster, retrying while connected viewers still need an IDR. Requests stop once all waiting viewers receive an IDR or the broadcaster closes.

Camera support for RTCP PLI varies. Unsupported sources, cameras that ignore feedback, and failed requests fall back to the next periodic IDR; failures are logged as keyframe_request_failed. No encoder settings are changed. A camera with a long GOP can therefore still start slowly; configure a shorter IDR interval (for example 1-2 seconds) when camera feedback is unavailable, accounting for the bandwidth tradeoff. An isolated cached IDR must not be replayed followed by arbitrary live P-frames: the dependent reference chain would be incomplete.