NorskInspect interface

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

Signature:

export interface NorskInspect

Methods

Method Description

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