NorskOutput interface

Methods that allow you to egest media from your application

Signature:

export interface NorskOutput

Methods

Method Description

cmafAudio(settings)

Produces audio segments with the supplied settings for use in HLS or DASH manifests.

These can optionally be served via the Norsk web server or be pushed to other locations - see CMAFDestinationSettings

cmafMaster(settings)

Produces a master (hls and/or dash) manifest for a collection of media streams

This can optionally be served via the Norsk web server or be pushed to other locations - see CMAFDestinationSettings

cmafVideo(settings)

Produces video segments with the supplied settings for use in HLS or DASH manifests.

These can optionally be served the Norsk web server or be pushed to other locations - see CMAFDestinationSettings

cmafWebVtt(settings)

Produces WebVTT segments with the supplied settings for use in HLS or DASH manifests. These are served via the Norsk web server

fileMp4(settings)

Output MP4 files to disk, both fragmented and non-fragmented.

The fragmented output is required.

The optional non-fragmented filename will be written when calling FileMp4OutputNode.close() and will be fully written by the time NodeSettings.onClose is called. This sets up a temp file to store the frame data by appending the extension .tmp.

A non-fragmented MP4 file can be written on request with FileMp4OutputNode.writeFile(), which uses the frame data store if FileMp4OutputSettings.nonfragmentedFileName was given or reads back the fragmented mp4 if there is no non-fragmented file.

fileTs(settings)

Stream to a Transport Stream file.

hlsMasterPush(settings)

Produces a HLS master manifest for a collection of media streams and pushes it to the specified location, see CMAFDestinationSettings

hlsTsAudio(settings)

Produces Transport Stream audio segments with the supplied settings for use in HLS manifests and builds a playlist served locally from the Norsk Web Server

hlsTsAudioPush(settings)

Produces Transport Stream audio segments with the supplied settings for use in HLS manifests and pushes them to the configured location (see CMAFDestinationSettings)

hlsTsCombinedPush(settings)

Produces Transport Stream segments containing both video and audio with the supplied settings for use in HLS manifests and pushes them to the configured location (see CMAFDestinationSettings)

hlsTsVideo(settings)

Produces Transport Stream video segments with the supplied settings for use in HLS manifests and builds a playlist served locally from the Norsk Web Server

hlsTsVideoPush(settings)

Produces Transport Stream video segments with the supplied settings for use in HLS manifests and pushes them to the configured location (see CMAFDestinationSettings)

hlsWebVttPush(settings)

Produces WebVTT segments with the supplied settings for use in HLS or DASH manifests and pushes them to the configured location

rtmp(settings)

Connects and sends media to a remote RTMP server

srt(settings)

Produces a Transport Stream, and allows Norsk to either connect to an existing SRT server or act as an SRT server itself

udpTs(settings)

Produces a Transport Stream optionally containing both video and audio and sends it out over UDP

whip(settings)

Connects and sends media to a remote server via WebRTC using the WHIP standard