Skip to main content

Module mediamtx

Module mediamtx 

Source
Expand description

Live-view gateway integration: registers a camera’s stream as a MediaMTX path (server-side, credentials never exposed to the browser) and returns HLS / WebRTC / RTSP playback URLs.

Structs§

LiveUrls

Functions§

ensure_live
Ensure a MediaMTX path exists for this camera and return its playback URLs.
transcode_codec_args
FFmpeg encoder args for the live preview transcode, selected by HELDAR_LIVE_TRANSCODE_ENGINE. software uses libx264 (CPU); vaapi offloads to an Intel/AMD render node; nvenc to an NVIDIA GPU. An unknown engine warns and falls back to software so a typo never breaks live preview.