Configuration
Settings are stored in /usr/local/antmedia/conf/scout.properties as YAML. You can edit
the file directly or use the web UI.
Changes to configuration can be applied without restarting AntMedia Server using the hot reload
feature (Dashboard → “Reload Configuration” button or POST /rest/scout/reload). Active
streams continue with their existing configuration; new streams use the reloaded settings.
Example configuration
licenseKey: "YOUR-LICENSE-KEY"
delivery: headers
scope: both
# MQA — per-stream settings are via the REST API; only the VMAF model path goes here
# cmsdVmafModelPath: ""
# Telemetry / Prometheus (Standard tier+; enabled by default)
prometheusEnabled: true
prometheusPort: 9090
prometheusPath: /metrics
# MQA REST ingest (Standard tier+; disabled by default)
restApiEnabled: false
restApiPort: 8090
# Quality alerting (Enterprise tier; disabled by default)
alertingEnabled: false
alertingWebhookUrl: ""
vmafThreshold: 70
applications:
LiveApp:
delivery: headers
scope: both
VodApp:
delivery: both
scope: manifests
The plugin only activates for applications that appear under applications:. The application
name must match the AntMedia webapp context name exactly (case-sensitive).
An application is enabled when it has an entry under applications: and disabled when that
entry is absent. Using the web UI to disable an application removes its entry from the file.
CMSD settings
These settings control how CMSD-Static data is injected. They can be set globally and overridden per-application (see Per-application settings).
Key |
Description |
Default |
|---|---|---|
|
Your Scout license key (see License). |
— |
|
Where CMSD-Static data is injected: |
|
|
Which request types receive CMSD data: |
|
Delivery modes
The delivery setting controls how CMSD-Static data is surfaced on each response:
Value |
Behaviour |
|---|---|
|
Adds a |
|
For |
|
Applies both |
Scope
The scope setting limits which request types receive CMSD data:
Value |
Behaviour |
|---|---|
|
Only |
|
Only |
|
All four file types are annotated. |
CMSD keys
Scout emits up to five CMSD-Static keys per response. Keys that cannot be resolved are omitted; the output remains valid with a partial key set.
Key |
Type |
Description |
|---|---|---|
|
Integer (ms) |
Content duration in milliseconds. Currently emitted for VOD manifests only when the duration can be determined. |
|
Integer (kbps) |
Encoded video bitrate. Resolved first from the |
|
Token |
Object type: |
|
Token |
Streaming format: |
|
Token |
Stream type: |
MQA settings
Per-stream MQA configuration (enabling PSNR / SSIM / VMAF per stream) is done via the REST API — see Media Quality Assessment (MQA). The only plugin-level MQA setting is the VMAF model path.
Key |
Description |
Default |
|---|---|---|
|
Absolute path to a custom libvmaf |
(built-in model) |
Telemetry settings
Scout exposes a Prometheus metrics endpoint for per-stream quality scores. This feature
requires a Standard or higher license and starts automatically when
prometheusEnabled is true (the default).
See Telemetry (Prometheus) for the full metrics reference.
Key |
Description |
Default |
|---|---|---|
|
Enable the Prometheus metrics HTTP endpoint. |
|
|
TCP port the Prometheus endpoint listens on. |
|
|
HTTP path for the metrics endpoint. |
|
MQA REST ingest settings
Scout can accept MQA scores pushed by an external encoder or quality-assessment tool.
Injected scores feed the Prometheus endpoint and quality alerts (they do not appear in
the CMSD-MQA response header, which is populated from on-device computed scores only).
This feature requires a Standard or higher license and is disabled by default.
See Media Quality Assessment (MQA) for the ingest API reference.
Key |
Description |
Default |
|---|---|---|
|
Enable the MQA REST score-ingest endpoint. |
|
|
TCP port the ingest endpoint listens on. |
|
Alerting settings
Scout can send webhook alerts when stream quality degrades below a configurable VMAF threshold. This feature requires an Enterprise license and is disabled by default.
See Quality Alerting for details.
Key |
Description |
Default |
|---|---|---|
|
Enable quality alerting. |
|
|
URL to POST alert payloads to. Required when alerting is enabled. |
(none) |
|
VMAF score below which an alert fires (0–100). |
|
Per-application settings
These go under applications.<appName>. Any setting not specified falls back to the global
value, then to the built-in default. Telemetry, alerting, and MQA ingest settings cannot be
overridden per-application — they apply globally.
Key |
Description |
Default |
|---|---|---|
|
Override the delivery mode for this application: |
(global) |
|
Override the scope for this application: |
(global) |