{
  "channels": [
    {
      "id": 1,
      "name": "Channel 1",
      "ndi": {
        "source": "",
        "extra_ips": "",
        "receiver_name": "ndi2srt"
      },
      "encoder": {
        "enabled": true,
        "licence_assigned": true
      },
      "video": {
        "codec": "h264",
        "encoder": "auto",
        "scan": "auto",
        "bitrate_kbps": 6000,
        "gop_seconds": 2.0,
        "profile": "high",
        "threads": 0
      },
      "audio": {
        "enabled": true,
        "bitrate_kbps": 128,
        "processing": {
          "enabled": false,
          "gain_db": 0.0,
          "eq_enabled": false,
          "bands": [
            {
              "enabled": false,
              "kind": "low_shelf",
              "hz": 100.0,
              "gain_db": 0.0,
              "q": 0.71
            },
            {
              "enabled": false,
              "kind": "peaking",
              "hz": 400.0,
              "gain_db": 0.0,
              "q": 0.9
            },
            {
              "enabled": false,
              "kind": "peaking",
              "hz": 2500.0,
              "gain_db": 0.0,
              "q": 0.9
            },
            {
              "enabled": false,
              "kind": "high_shelf",
              "hz": 8000.0,
              "gain_db": 0.0,
              "q": 0.71
            }
          ],
          "compressor": {
            "enabled": false,
            "threshold_db": -18.0,
            "ratio": 3.0,
            "attack_ms": 10.0,
            "release_ms": 200.0,
            "makeup_db": 0.0
          }
        }
      },
      "ts": {
        "transport_bitrate_kbps": 8000,
        "pcr_interval_ms": 30,
        "pat_pmt_interval_ms": 100,
        "sdt_interval_ms": 500,
        "decoder_delay_ms": 400,
        "service_id": 1,
        "service_name": "ndi2srt",
        "provider_name": "Cloudcast",
        "video_pid": 256,
        "audio_pid": 257,
        "pmt_pid": 4096
      },
      "srt": {
        "mode": "caller",
        "host": "127.0.0.1",
        "port": 9001,
        "latency_ms": 200,
        "passphrase": "",
        "key_len": 16,
        "stream_id": ""
      },
      "decoder": {
        "enabled": false,
        "srt": {
          "mode": "listener",
          "host": "",
          "port": 9002,
          "latency_ms": 200,
          "passphrase": "",
          "key_len": 16,
          "stream_id": ""
        },
        "ndi_name": "ndi2srt decoder",
        "output_delay_ms": 300,
        "audio": true,
        "hw": "auto",
        "timecode": "synthesize",
        "licence_assigned": true
      },
      "delay": {
        "enabled": false,
        "source": "",
        "depth_s": 10.0,
        "ndi_name": "ndi2srt delay",
        "max_memory_mb": 4096,
        "dump_seconds": 5.0,
        "rebuild_after_dump": true,
        "fade_ms": 500,
        "fade_rollout": true,
        "fade_build": true,
        "fade_dump": true,
        "fill": {
          "video": "freeze",
          "image_path": "",
          "clip_path": "",
          "ndi_source": "",
          "audio": "silence",
          "tone_hz": 1000.0,
          "tone_dbfs": -18.0,
          "rollout_fill": false,
          "clip_max_s": 20.0,
          "schedule": []
        },
        "timecode": "passthrough",
        "audio_processing": {
          "enabled": false,
          "gain_db": 0.0,
          "eq_enabled": false,
          "bands": [
            {
              "enabled": false,
              "kind": "low_shelf",
              "hz": 100.0,
              "gain_db": 0.0,
              "q": 0.71
            },
            {
              "enabled": false,
              "kind": "peaking",
              "hz": 400.0,
              "gain_db": 0.0,
              "q": 0.9
            },
            {
              "enabled": false,
              "kind": "peaking",
              "hz": 2500.0,
              "gain_db": 0.0,
              "q": 0.9
            },
            {
              "enabled": false,
              "kind": "high_shelf",
              "hz": 8000.0,
              "gain_db": 0.0,
              "q": 0.71
            }
          ],
          "compressor": {
            "enabled": false,
            "threshold_db": -18.0,
            "ratio": 3.0,
            "attack_ms": 10.0,
            "release_ms": 200.0,
            "makeup_db": 0.0
          }
        },
        "censor": {
          "audio": "tone",
          "tone_hz": 1000.0,
          "tone_dbfs": -18.0,
          "pre_ms": 500,
          "cough_tail_ms": 300,
          "censor_seconds": 3.0,
          "held_timeout_ms": 30000,
          "video_mode": "none",
          "mask": "mosaic",
          "mask_strength": 24,
          "slate_from_fill": true,
          "slate_mute": true,
          "schedule": []
        },
        "maintain": {
          "enabled": false,
          "mode": "hold",
          "fill_after_ms": 500,
          "catchup": "bounded",
          "catchup_max_ppm": 50000,
          "resync_s": 30.0
        },
        "licence_assigned": true
      },
      "scte": {
        "enabled": false,
        "block": false,
        "block_kinds": "",
        "accept_from_ndi": true,
        "accept_from_srt": true,
        "emit_to_ndi": true,
        "emit_to_srt": true,
        "pid": 500,
        "pre_roll_ms": 4000,
        "null_interval_ms": 1000,
        "absolute_action": "drop",
        "absolute_tolerance_frames": 2,
        "pass_other_metadata": false,
        "tier": 4095
      }
    }
  ],
  "clock": {
    "reference": "monotonic",
    "lock_output": false
  },
  "web": {
    "enabled": true,
    "bind": "0.0.0.0",
    "port": 8090
  },
  "tcp": {
    "enabled": true,
    "bind": "0.0.0.0",
    "port": 9350,
    "allow_list": ""
  },
  "process": {
    "priority": "high",
    "max_memory_mb": 0
  },
  "ndi_network": {
    "discovery": "",
    "recv_groups": "",
    "send_groups": "",
    "extra_ips": "",
    "adapters": "",
    "rudp_send": null,
    "rudp_recv": null,
    "tcp_send": null,
    "tcp_recv": null,
    "unicast_send": null,
    "unicast_recv": null,
    "multicast_send": null,
    "multicast_recv": null,
    "multicast_ttl": null,
    "multicast_netmask": "",
    "multicast_netprefix": "",
    "multicast_recv_subnets": "",
    "advanced": ""
  },
  "logging": {
    "file": true,
    "dir": "",
    "level": "info",
    "max_mb": 10,
    "keep": 10,
    "stats_interval_s": 10.0
  },
  "audit": {
    "keep_months": 12
  },
  "auth": {
    "enabled": false,
    "session_hours": 8.0,
    "users": [],
    "api_clients": [],
    "tcp_token": "",
    "oidc": {
      "enabled": false,
      "issuer": "",
      "client_id": "",
      "client_secret": "",
      "role_claim": "groups"
    }
  },
  "alarms": {
    "enabled": true,
    "audio_silence_dbfs": -50.0,
    "audio_silence_s": 30.0,
    "audio_hysteresis_db": 6.0,
    "audio_restore_s": 5.0,
    "video_black_luma": 20.0,
    "video_frozen_motion": 0.25,
    "video_silence_s": 30.0,
    "video_restore_s": 5.0,
    "source_lost_s": 5.0,
    "srt_down_s": 10.0,
    "decoder_stall_s": 5.0,
    "av_offset_ms": 100.0,
    "av_offset_s": 5.0,
    "depth_low_margin_s": 1.0,
    "depth_low_s": 30.0,
    "restore_s": 5.0,
    "notify_cooldown_s": 300.0,
    "history": 500
  },
  "email": {
    "enabled": false,
    "host": "",
    "port": 587,
    "security": "starttls",
    "user": "",
    "password": "",
    "from": "",
    "to": "",
    "subject_prefix": "[ndi2srt]",
    "notify_restored": true
  },
  "webhooks": {
    "enabled": false,
    "urls": "",
    "secret": "",
    "timeout_s": 10,
    "retries": 3,
    "notify_restored": true
  },
  "snmp": {
    "enabled": false,
    "bind": "0.0.0.0",
    "port": 161,
    "community": "public",
    "write_community": "",
    "trap_receiver": "",
    "trap_community": "public"
  },
  "store": {
    "history_keep": 50
  },
  "clips": {
    "enabled": true,
    "dir": "",
    "max_files": 200,
    "max_total_mb": 2048,
    "keep_days": 30,
    "max_seconds": 120.0,
    "codec": "h264",
    "encoder": "software",
    "profile": "baseline",
    "bitrate_kbps": 6000,
    "gop_seconds": 1.0,
    "audio_bitrate_kbps": 128,
    "alert_email": true,
    "alert_webhook": true,
    "public_base_url": ""
  },
  "redundancy": {
    "role": "standalone",
    "primary_url": "",
    "token": "",
    "poll_s": 5.0,
    "takeover_after_s": 30.0,
    "grace_days": 14.0,
    "suppress_external_outputs": true,
    "ndi_name_suffix": " (Backup)",
    "instance_name": ""
  },
  "watchdog": {
    "enabled": false,
    "check_s": 1.0,
    "stall_s": 10.0,
    "backoff_s": 5.0,
    "max_restarts_per_hour": 6
  },
  "gpio": {
    "enabled": false,
    "host": "",
    "port": 93,
    "password": "",
    "device": "lwrp",
    "poll_s": 1.0,
    "debounce_ms": 50,
    "hysteresis_pct": 2.0,
    "dump_lamp_s": 2.0,
    "keepalive_s": 30.0,
    "inputs": [],
    "outputs": []
  },
  "data": {
    "enabled": false,
    "receivers": [],
    "senders": [],
    "routes": []
  },
  "scripting": {
    "enabled": false,
    "entry": "main",
    "timeout_ms": 1000,
    "queue_size": 64,
    "history_keep": 50
  },
  "licence": {
    "store_dir": "",
    "file": "",
    "container_serial": "",
    "container_base_url": "https://ccsystems.io",
    "container_renew_hours": 12
  }
}
