FileMp4InputSettings interface

Settings for an File Based Mp4 Input see: NorskInput.fileMp4()

Signature:

export interface FileMp4InputSettings extends SourceNodeSettings<FileMp4InputNode>, StreamStatisticsMixin

Properties

Property Type Description

fileName

string

Path to the MP4 file to read

loop?

boolean

(Optional) Whether to loop back to the start of the file after reaching the end (default false)

onEof?

() ⇒ void

(Optional) Callback to be notified when the file ends

onInfo?

(info: FileMp4Info) ⇒ void

(Optional) Callback to be notified when the file is initially read

sourceName

string

The source name to set in the stream key of the outgoing stream

start?

'playing' | 'paused'

(Optional) Whether to start paused or already playing (default: playing)