NorskControl interface

Methods that allow you to control and monitor media streams

Signature:

export interface NorskControl

Methods

Method Description

audioMeasureLevels(settings)

Monitor the volume of an audio stream

embeddedAI(settings)

spectrumInputInference(settings)

Analyze video input to detect colour primaries, transfer function, video range, and other metadata with confidence scoring. Samples 1-in-N frames and streams detection results.

streamSourceSequence(settings)

Play a sequence of sources gaplessly, with auto-advance on EOF and an optional early-cut trigger (StreamSourceSequenceNode.advanceNow()). Companion to (and recommended replacement for) the NorskControl.streamSwitchHard() playlist pattern.

streamStatistics(settings)

Record statistical information about media streams, including bitrate, frame rate, and number of keyframes, measured over some configurable sampling windows.

Corresponding settings are found on many input and output nodes.

streamSwitchHard(settings)

Switch between multiple input sources via a hard cut. May be used to switch between sources of possibly different configurations or without decoding.

May be used for audio-only, video-only, or A/V sources; when video is present, switches will occur on a keyframe when possible.

streamSwitchSmooth(settings)

Switch between multiple input sources without interruption, via a transition.