NorskInspect interface

Methods that allow you to inspect media streams, for monitoring, decisioning or debug purposes.

Signature:

export interface NorskInspect

Methods

Method Description

qualityMonitoring(settings)

Continuously monitor stream quality (black frame detection, with more detections to follow). Emits transition events when configured thresholds are crossed.

qualityReporting(settings)

Report quality events from a stream that already has quality decisions written to its per-frame qualityMetrics (e.g. by an upstream QualityMonitor). Does no detection work itself.

streamMetrics(settings)

Generate metrics for one or more input streams

These will end up in the telemetry store and are exportable via the prometheus endpoint

or an otel collector

streamTimestampReport(settings)

Intercept all the timestamps of any subscribed stream

subtitles(settings)

Observe the subtitle content in a subtitle stream.

The chunks of subtitling/captioning data observed may consist of fully formatted cues (e.g. where they are coming from a stream already in WebVTT format) or text which has not yet been split/formatted (possibly with word-level timestamps). These can be modified and sent to a streamWebVtt input