Med Fabric Preview logo

Med Fabric Preview

GitHub source MIT license

mf_preview is the optional isolated live-monitoring service in Med Fabric. It runs in a separate BEAM process with med_ex, med_ex_opus, and med_ex_rtc so native Opus encoding and WebRTC peer failures can never corrupt or interrupt authoritative clinical capture in mf_exam.

Installation

Add mf_preview to your list of dependencies in mix.exs:

def deps do
  [
    {:mf_preview, "~> 0.1.0"}
  ]
end

Requires Elixir ~> 1.20 (OTP 29) and native build tools / libopus support for med_ex_opus.

How It Works

Configuration

Set the listener port and shared secret file before starting:

export MF_PREVIEW_PORT=4090
export MF_PREVIEW_CREDENTIAL_FILE=/etc/med_fabric/preview.secret
mix run --no-halt

Guides

License

Released under the MIT License.