Documentation Live video & sound
FIELD GUIDE / 056 MIN READ

Live streaming and quality

Documentation home · How it works · Troubleshooting

Last reviewed: 23 November 2026. See the release guide for package qualification and physical runtime acceptance.

This guide owns external codec requirements, transport, quality and talkback. See configuration for saving settings and diagnostics for the logging policy.

Packaged codec requirements

Live viewing and HomeKit recording require an externally installed FFmpeg 6.1 or later, available through the Homebridge service's PATH or the ffmpegPath setting. FFmpeg is not downloaded, installed or bundled by this plugin. Use a build with libx264, libopus, AAC, PCMA and PCMU, MPEG-TS/MOV input, MP4/data/framecrc/ tee output, and the pipe and seekable fd protocols. Authenticated camera discovery checks executable availability, version and capabilities once per Blink child-bridge start. Missing or unsupported FFmpeg prints an actionable startup warning and disables live video, snapshots and HomeKit recording before camera media requests. Arm/disarm, public motion and settings continue to work. After installing a compatible build, update the Homebridge service PATH or ffmpegPath and restart the Blink child bridge. An unconfigured bridge does not probe FFmpeg. In 2.0.1-alpha.0, the plugin can reuse a successful capability check while the FFmpeg executable is unchanged. Host development checks used FFmpeg 9.0.2.

The package retains a hash-verified protection/launch helper for Linux x64/arm64, macOS x64/arm64 and Windows x64. It links libsrtp, not FFmpeg. Missing, unsupported or modified helpers refuse streaming before requesting vendor media. Final tested OS baselines and installed-package evidence belong in the release guide.

FFmpeg receives validated media through private pipes or an already-open read-only descriptor. Session URLs, credentials and SRTP keys are never its command-line options or environment variables. The parent owns vendor TLS and HomeKit output sockets; only the protection helper receives SRTP keys through private IPC. Child diagnostics are bounded and never copied directly into user logs. Keys and media still exist in process memory; this does not isolate a compromised Homebridge host.

For a first live-view test, keep Current quality (Home chooses) and the default Opus codec. Audio supports mono Opus at 16/24 kHz, PCMA and PCMU at 8 kHz. Opus uses 10/20/40/60 ms packets and a 48 kHz RTP clock. AAC-ELD is removed from the offer; a controller retaining an old selection is refused before vendor allocation. The normal HAP configuration update advertises changed capabilities while preserving accessory identities. Do not reset pairing to recover a refused codec.

Upgrade configuration

Retired settings fail validation with migration guidance: ffmpegDebug, rtpSsrcMode, rtspTransport, verifyImmisTls, twoWayAudio, videoEncoder, debugStreamPath. The retired raw capture key is rejected even when blank. audioCodec: aac-eld also needs migration. The external backend uses software libx264; arbitrary hardware encoder selection is not exposed. ffmpegPath is supported and preserved by migration. Use an executable name from PATH or an absolute path; relative directory paths are rejected.

Use the one-time upgrade procedure for stable 0.10.0 and the separate intermediate-beta mappings in the same guide. Installation leaves Homebridge configuration untouched. For legacy settings, preview the installed converter against an explicit complete Homebridge configuration path, then apply after review:

node "/absolute/plugin/path/scripts/migrate-native-recording-config.cjs" "/absolute/homebridge/config.json"
node "/absolute/plugin/path/scripts/migrate-native-recording-config.cjs" "/absolute/homebridge/config.json" --apply

The historical secure-media script name delegates to this same converter and also requires --apply; an explicit path alone is now read-only preview. One private exact-byte backup covers all conversions. Replacement preserves config mode, owner and group, other platforms and explicit canonical choices. Windows uses the documented manual conversion; neither script contacts Blink or restarts Homebridge. Preserve authentication/accessory state and existing pairing.

For saved recordings, follow the per-camera recording setup. Live viewing, Blink native clip availability and Apple Home recording permission are separate controls. Saved USB clips use each camera’s existing Home accessory after local preparation; they do not replace its live feed.

Encoding and transport

Live streaming converts H.264/AAC or AAC-LATM in owned MPEG-TS input into negotiated H.264 plus optional supported audio. Video preserves aspect ratio with black padding, uses the negotiated profile/level and bitrate ceiling, and selects source frames at no more than the output FPS. Slower sources are not duplicated.

IMMIS admits the checked public immedia-semi.com family or canonical public IPv4 on TLS port 443. The owned RTSPS broker admits the same family on port 332 and requires the source-backed blinkRTSP=true/1 TCP-interleaved MPEG-TS flow. It refuses redirects, UDP transport, unapproved control/SDP authorities and other RTSP flows. Every numeric connection candidate and reconnect receives fresh policy checks; TLS verification retains the original server identity. The shared vendor trust anchors apply only to these media transports. No setting bypasses TLS. Provider endpoint completeness and physical playback remain operator acceptance; synthetic protocol tests do not prove every live camera is supported.

Queues, input/output byte ceilings, bounded backpressure, independent STOP and bounded cleanup remain enforced. A retiring generation keeps its ports reserved until actual worker/socket closure. Command polling starts immediately and follows the vendor interval independently of Continue timing.

mediaDebug enables bounded, redacted logs. Optional raw diagnostic file capture has been removed; live streaming and HomeKit recording retain their normal media paths. Remove any saved debugStreamPath key through the explicit migration before restart, including a blank value. Windows requires manual removal using the guide's mapping. Installation does not migrate configuration. Neither runtime nor migration scans, moves, deletes or changes permissions on existing captures; their retention remains the operator's choice. See the logging specification.

Two-way talk status

Talkback remains disabled and the HomeKit microphone UI stays hidden. Removed twoWayAudio settings need migration; the secure runtime does not implement uplink.

Software encoding on smaller hosts

softwareEncodingPreset defaults to veryfast (Balanced). Optional ultrafast (Low CPU) selects x264 ultrafast and Opus compression level 3. Reduced compression work can reduce quality at the same bitrate. Compare actual Home playback on the same host and settings after operator installation. Automatic H.264 passthrough is not enabled. Resource and latency acceptance require matched measurements; passing codec tests alone does not prove real-time performance.

Input and output quality

Save settings through the configuration workflow, then check the output-profile and negotiated-format receipt after applying them. Publication never changes a running host's settings.

outputQuality applies to every camera's HomeKit video output. Default auto preserves the current capabilities and lets Home choose. Optional 720p15 (1280×720 with a 15-fps encoding ceiling), 360p15 (640×360 with a 15-fps ceiling), and 1080p30 (1920×1080/30) retain the 320×240/15 fallback. The low-frame-rate profiles also accept a 30-fps selection at their advertised dimensions, while encoding at no more than 15 fps. This follows the maintained Homebridge camera-ffmpeg frame-rate limiting approach. Dimensions remain exactly selected; unsupported dimensions still fail before vendor media work. Output receipts distinguish requested and effective FPS. Lower resolution/frame rate reduces encoding work, but improved playback is not established until measured on the installed release. 1080p/30 increases work. Audio remains independently negotiated and transcoded, including Opus packet duration, sample rate and separate RTP/SRTP packaging. Software encoding preset and bitrate remain separate controls.

Input quality is per camera only, under deviceSettingOverrides:

{
  "outputQuality": "720p15",
  "deviceSettingOverrides": [
    { "deviceIdentifier": "CAMERA_SERIAL", "inputQuality": "auto" }
  ]
}

inputQuality: auto preserves the camera's current Blink quality; it sends no settings write. On first live startup, the plugin remembers the first parseable vendor quality and actual input video dimensions/frame rate in Homebridge's accessory cache. These observations are separate from configured policy and model maximum capability. Missing metadata does not invent an input resolution or prevent automatic streaming. Compressed input is demuxed at its real format.

Explicit saver, standard or best selects Blink's persistent camera setting before liveview, with supported/restricted values checked and confirmed readback. This also changes recording quality in the Blink app. Existing settings are not restored when returning to auto; restore the desired quality explicitly in the plugin or Blink app. Failed/unconfirmed changes prevent that stream start; ambiguous writes are not replayed. Save settings and restart through Homebridge's normal operator workflow; publication does not change the live host.

2K is model-dependent. Mini 2K+ Best is 2560×1440/24; the newer doorbells use square video. The pipeline accepts actual 2560×1440 and 1920×1920 input and converts to negotiated output while preserving aspect ratio with padding. No universal 2K override or unsupported resolution request is sent. Camera model, firmware and subscription may restrict upstream quality. Synthetic 2K conversion and mocked config contracts do not establish physical 2K-camera acceptance.